resource "github_actions_environment_secret" "terraform_infrastructure_tfe_token" { # TODO / instead github_actions_secret should be github_actions_environment_secret when using TFE paid plan and able to scope token permissions.
repository = github_repository.terraform.name
environment = github_repository_environment.terraform_main.environment
secret_name = "TF_TOKEN_APP_TERRAFORM_IO" # https://github.com/hashicorp/terraform/issues/21965#issuecomment-512527481
plaintext_value = "placeholder" # TODO / instead of personal token which is org level access, better to create a tfe_team_token per environment. But that requries more that a paid plan and 1 user in TF orgnanization.
lifecycle {
ignore_changes = [plaintext_value]
}
}
This configuration should produce an empty plan when updating plaintext_value in UI
Actual Behavior
github_actions_environment_secret.terraform_infrastructure_tfe_token will be created
Expected Behavior
This configuration should produce an empty plan when updating
plaintext_value
in UIActual Behavior
github_actions_environment_secret.terraform_infrastructure_tfe_token will be created
Plan: 1 to add, 0 to change, 0 to destroy.
Terraform Version
Terraform v1.8.2 on darwin_arm64
Affected Resource(s)
Terraform Configuration Files
No response
Steps to Reproduce
No response
Debug Output
Panic Output
No response
Code of Conduct