-
Notifications
You must be signed in to change notification settings - Fork 927
Open
Labels
Type: BugSomething isn't working as documentedSomething isn't working as documented
Description
Expected Behavior
When changing the plaintext_value or encrypted_value of an existing github_actions_organization_secret resource, the secret value should be updated in-place as per the GitHub API spec here: https://docs.github.com/en/rest/actions/secrets?apiVersion=2022-11-28#create-or-update-an-organization-secret.
Actual Behavior
Terraform detects the github_actions_organization_secret as needing to be replaced and will delete and recreate the secret resource.
Terraform Version
Irrelevant to the bug in question
Affected Resource(s)
- github_actions_organization_secret
Terraform Configuration Files
Steps to Reproduce
Create an github_actions_organization_secret resource with an initial value on the first apply. Then change the value of the secret stored and generate a plan. Terraform will show in its plan that it intends to replace the secret rather than update it in-place.
Debug Output
Panic Output
Code of Conduct
- I agree to follow this project's Code of Conduct
cangulomascarell, monster-cookie and jkstpierre
Metadata
Metadata
Assignees
Labels
Type: BugSomething isn't working as documentedSomething isn't working as documented
Type
Projects
Status
🆕 Triage
Status
In Progress