-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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_bucket_object: Fix ETAG changes not forcing new #9579
Conversation
@bflad This is rebased. Any adjust you'd like on this? This fix will make several of our processes much cleaner. |
Hey @YakDriver, all 👋 The new acceptance test is currently passing on
What is the incorrect behavior that is supposed to be fixed by forced recreation of the object? The debug logging, as part of the testing passing, is showing the expected non-empty plan after rewriting the file and the |
@bflad, it's described in #2411... when the source contents change but the source value does not, The plan I've seen wants to update just the |
Exactly. ☝️ @bflad Although now I believe this was always an AWS bug, see my explanation #2411 (comment), I would feel better if we added the acceptance test anyway. Then if the s3 service API breaks again, we'd know about it. I updated this PR to leave just the acceptance test. |
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.
Adding the acceptance test to check for API regressions in the future. Thanks, @YakDriver 🚀
This has been released in version 2.26.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! |
As FYI, this issue is not noted in the changelog as part of the 2.26.0 release |
@bostrowski13 thanks for the notice. The fix occurred in the API itself, not Terraform. Because of that, this pull request became only adding an acceptance test so we can potentially detect any API regression that might occur. We typically do not CHANGELOG testing-only changes as they are not operator facing. 👍 |
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
Closes #2411
Release note for CHANGELOG:
Output from acceptance testing: