-
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]: Provider version v5.86.0 caused a regression in S3 lifecycle configuration: provider ... produced an │ unexpected new value: .rule[0].filter: block count changed from 1 to 0. #41278
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
This looks like a duplicate of #41268, can you confirm? |
Regarding #41268 the error message is certainly the same, but I don't see any mention of input |
@jlewis-spotnana to clarify, were the bucket and lifecycle rule created with v5.85.0 and the changes applied with v5.86.0, or was it both created and updated with v5.86.0? |
I had the same error but when I re-applied my tf spec it went ok, weird - for me the same TF 1.5.7 and aws provider 5.86.0, while with the previous versions of aws providers I do not had such issues. |
@gdavison I could re-produce this issue using v5.86.0 alone. But also, creating buckets with v5.85.0 and then upgrading to v.5.86.0 also results in the same behavior. |
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.5.7
AWS Provider Version
5.86.0
Affected Resource(s)
Expected Behavior
After upgrading to provider
v5.86.0
, I expected terraform plan and terraform apply to run successfully without drift or error.Actual Behavior
After upgrading to provider
v5.86.0
the following diff is observed in terraform plan, resulting in the error shown below under "Relevant Error/Panic Output Snippet"Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
There are several ways to reproduce this issue. Here is one.
transition_default_minimum_object_size
or settransition_default_minimum_object_size = null
terraform apply
again, and the error will resultterraform apply
a second time, and the configuration will be applied successfully and without error.Debug Output
No response
Panic Output
No response
Important Factoids
This may be related to PR #41159
Interestingly, running
terraform apply
a second time applies the configuration correctly and without error.Reverting to AWS provider
v5.85.0
also results in expected behavior.References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: