Open Octogonapus opened 2 years ago
Could it be related to https://github.com/hashicorp/terraform-provider-aws/issues/19583 ? TLDR: computed value in tags_all
has an issue, some workaround are offered in linked issue.
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
I have been trying to produce a MWE but it is tricky to boil this one down and I haven't been able to do it so far. We have some step functions that use this module:
Expected Behavior
No inconsistent final plan error.
Actual Behavior
I guess Terraform lost track of the tag added here.
Steps to Reproduce
The problem occurs when running
terraform apply
.It's important to note that applying twice works around the issue. i.e.:
terraform plan
andterraform apply
terraform plan
andterraform apply
Important Factoids
References
0000