-
Notifications
You must be signed in to change notification settings - Fork 948
When github_actions_secret is changes via gui, it will be re-created #964
Copy link
Copy link
Labels
Status: PinnedA way to keep old or long lived issues aroundA way to keep old or long lived issues around
Description
Terraform Version
1.0.7
Affected Resource(s)
Please list the resources as a list, for example:
- github_actions_secret
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
resource "github_actions_secret" "workflow_pat" {
count = var.create_default_secrets ? 1 : 0
repository = github_repository.this.name
secret_name = "WORKFLOW_PAT"
plaintext_value = "CHANGE_ME"
lifecycle {
ignore_changes = [plaintext_value]
}
}Expected Behavior
Changes to Secrets made from GitHub Gui should be ignored
Actual Behavior
Secret will be re-created
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Repo is created from a template. Could this be the reason?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: PinnedA way to keep old or long lived issues aroundA way to keep old or long lived issues around
Type
Projects
Status
✅ Done
Status
Done