-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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]: aws_s3_bucket_lifecycle_configuration causes drift when nothing has actually changed #41460
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Hey @johannes-gehrs 👋 Thank you for taking the time to raise this! This looks like it's related to some changes that were necessary with the For the reason behind these changes and some information around the Can you review that and verify that by updating the configuration accordingly, you're able to get around this? |
Thank you, I will close this in favor of the existing isue. |
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
Terraform Core Version
1.10.5
AWS Provider Version
5.86.0 and higher
Affected Resource(s)
aws_s3_bucket_lifecycle_configuration
Expected Behavior
No drift if neither resources nor templates have changed
Actual Behavior
We see drift such as this
The empty filter element appears to be removed.
newer_noncurrent_versions
is set to an unknown value.We also see drift that looks like this
And finally and most worrisome, it looks like Terraform wants to apply a material change to a filter element in some cases
Is this expected?
It appears to be caused by the changes/rewrite introduced in #41159
It does not occur in version 5.85.0
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Not sure what the expectation is, here. You'll need both full configuration and state files to replicate this, and I cannot give you this.
Steps to Reproduce
Perform a
plan
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: