Closed bpr-git closed 1 year ago
A colleague and I experienced a similar issue to the one you described. The detail about the unique behaviors depending on the AWS provider version was super helpful 🎉. My colleague experienced the issue with hashicorp/aws v3.3.37
and I did not experience the issue with hashicorp/aws v3.46.0
.
We were able to confirm that by executing terraform init --upgrade
to bump their hashicorp/aws
version to 3.3.48 resolved the issue.
Seems like there's some interesting behavior with tags_all
starting with version 3.37.0
and persistent until 3.46.0
(at least from our minimal attempts to reproduce).
Hey all 👋 Thank you very much for taking the time to raise this! This was addressed with #29747, which was included in version 5.0.0
of the provider. With that in mind, we'll close this issue. If you experience additional issues with the provider, please do open a new issue to let us know.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
When updating a tag in the configuration files:
terraform plan
should show this changeterraform apply
should apply this changeterraform plan
should no longer show this changeActual Behavior
terraform plan
shows this changeterraform apply
applies this changeterraform plan
continues to show this change <-- This is the error!Steps to Reproduce
terraform plan
shows the changePlan: 0 to add, 1 to change, 0 to destroy.
module.api_cert.aws_acm_certificate.cert:
resource "aws_acm_certificate" "cert" {