Terraform Version
1.0.7
Affected Resource(s)
Please list the resources as a list, for example:
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?
Terraform Version
1.0.7
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
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 applyRepo is created from a template. Could this be the reason?