Skip to content

fix(repository-environment): replace deprecated plaintext_value with value#33

Merged
posquit0 merged 2 commits into
mainfrom
fix/repository-environment-secret-deprecated-value
Jun 21, 2026
Merged

fix(repository-environment): replace deprecated plaintext_value with value#33
posquit0 merged 2 commits into
mainfrom
fix/repository-environment-secret-deprecated-value

Conversation

@posquit0

Copy link
Copy Markdown
Member

Summary

The integrations/github provider deprecated the plaintext_value argument on the github_actions_environment_secret resource in favor of value. This produced a deprecation warning for every environment secret managed through this module:

Warning: Argument is deprecated
  with ...github_actions_environment_secret.this,
  on .../repository-environment/main.tf line 102 ...
  102:   plaintext_value = "placeholder"
Use value.

Changes

  • plaintext_value = "placeholder"value = "placeholder"
  • lifecycle.ignore_changes = [plaintext_value][value]
  • Updated the commented-out hint encrypted_value → its replacement value_encrypted for consistency

Notes

  • Behavior is unchanged — value is the direct, provider-recommended replacement for plaintext_value. The placeholder-secret pattern (ignore_changes) is preserved.
  • terraform validate passes.

…value

The integrations/github provider deprecated the `plaintext_value` argument
on `github_actions_environment_secret` in favor of `value`. Switch to the
new argument (and update the commented `encrypted_value` hint to its
`value_encrypted` replacement) to silence the deprecation warning.
@github-actions github-actions Bot added 💾 repository-environment This issue or pull request is related to repository-environment module. size/XS Extra Small size issue or PR. labels Jun 21, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the github_actions_environment_secret resource in modules/repository-environment/main.tf to use the value attribute instead of plaintext_value, and updates the lifecycle ignore rules accordingly. I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@posquit0 posquit0 merged commit 98f15e9 into main Jun 21, 2026
7 checks passed
@posquit0 posquit0 deleted the fix/repository-environment-secret-deprecated-value branch June 21, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💾 repository-environment This issue or pull request is related to repository-environment module. size/XS Extra Small size issue or PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant