-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug]: #35588
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
After testing on a non-production-environment, running apply did not brick the provider. While annoying due to a whole lot of output, in our environment this seems ok work around (do keep reading the changes before saying yes though). Yes, reading "it works for me" can be annoying.. Here's an explanation:
|
it's also happening with |
I have a PR open for our Terraform code which wrote a plan to a comment on that PR a couple of days ago, which did not exhibit that behavior. Running the PR workflow again today (the PR is still open) with the exact same version of Terraform and the AWS provider produces a different plan which does exhibit this behavior. There seems to have been a change underlying both Terraform and the AWS provider, presumably within the AWS API. |
happening the same in terraform 1.4.6 |
Seems functionality made it out before the Docs/Announcement which just posted. |
happening also with terraform v1.5(.7) and aws v5.32.1 |
should we wait for something , should we add something in the terrsform code , can we merge the code without issues? |
Yes, it's safe to run terraform apply |
Could someone more explicitly explain what has happened here? Why is it safe to apply? Is there a reason other than "we tried it and it didn't seem to cause any problems"? A workaround is to explicitly specify the value for
That'll result in a plan with no changes to that value. |
It's a new feature of AWS which currently not supported by terraform provider. As its readonly value, there is also no way to update it, even terraform tries to do that, nothing changes. That's why you can simply ignore this drift |
Simple fix
|
Thanks for that, @mar-pan! I had already tried |
This functionality has been released in v5.41.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Terraform Core Version
v1.7.2
AWS Provider Version
aws v4.64.0
Affected Resource(s)
I have following resource:
Expected Behavior
no changes should be detected
Actual Behavior
for some reason out of the blue now when i run
terraform apply
following changes are detected:Relevant Error/Panic Output Snippet
Terraform Configuration Files
n/a
Steps to Reproduce
n/a
Debug Output
n/a
Panic Output
n/a
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: