-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tags not being refreshed properly in resources. #7564
Comments
Hi @grahamjenson! Thanks for reporting this - I have a feeling it has been fixed as part of the work done by @stack72 to support importing RDS instances and Elasticache, but cannot verify right now. I'll circle back to this later this week. |
So I have been looking at this today. I can't see the bug here. Currently, we have the following test:
As you can see, it has the following:
these are checks to make sure that tags are set as expected. The issue I think you may be falling foul of is this:
There are cases where the ARN doesn't get built due to permissions (this has been fixed in the latest release!) If you can, please can you run the logging for terraform in debug mode to help diagnose this being the case?
And then drop the output here, then that would be fantastic Paul |
Ping @grahamjenson Did you have a chance to try this? Paul |
@stack72 Yes I just tried it and saw an Error caused by not having Is this fixed in the terraform 0.6.17? If it is I think you can close this issue and I will wait for the release. Cheers |
This helps me a lot with this issue. I think we need to remove the silently failing from the code and error out at that point. I will discuss it with the team and then get a fix in place for 0.7 (the next release) Thanks so much for helping debug it Paul |
Cheers. Graham |
FYI, this is solved by #7151 P. |
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. |
Terraform v0.6.16
Affected Resources
Tags are not being refreshed properly:
With a
terraform.tf
file:and
terraform.tfstate
file:Running
terraform plan
results in:Even thought the resource in the cloud has the correct
Name
tag.The text was updated successfully, but these errors were encountered: