-
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
S3 object version id is not correctly updated during diff #14900
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, @wernerb. It looks great!
One change to make, and one suggestion
7b58ede
to
dbe6b2f
Compare
@gdavison I have implemented your changes. |
@gdavison I understand this is not the proper etiquette, but our company is currently suffering from this bug with cloudformation stacks unable to update without this change. This update hurts as it happened after the terraform 12 upgrade and we cannot go back anymore. Could you provide perhaps, at least an ETA so we can decide to create custom providers ourselves? |
Fixes that version_id is stale during apply. Changes in certain keys existing object always results in a new version_id.
@gdavison do you have a chance to look at my commenst on your comments. I rebased everything and the above test failure seems to be a problem in the pipeline? |
Thanks for your patience, @wernerb, and thanks again for the PR. The test failure was due to a timeout being too short. |
This has been released in version 3.16.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 for triage. Thanks! |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
The configuration keys listed always result in changes to
version_id
. We make terraform aware of this. Currently terraform bails out during apply and refers to the AWS provider to fix this.This also fixes unrelated bugs in the tests
Closes #14899
Release note for CHANGELOG:
Output from acceptance testing: