Skip to content

Conversation

@tenstad
Copy link

@tenstad tenstad commented Oct 27, 2025

Rollback Plan

If a change needs to be reverted, we will publish an updated version of the library.

Changes to Security Controls

None

Description

Updates the desired target state for aws_s3_bucket_lifecycle_configuration to include both the value of transition_default_minimum_object_size and whether desired rules matches current rules, similarly to how it was before 5.95.

Instead of just showing if everything is up to date (with a boolean), one can now see if transition_default_minimum_object_size is correct separately from whether rules are correct.

Error pre 5.95

When applying changes to aws_s3_bucket_lifecycle_configuration.bucket-config, provider "provider["registry.terraform.io/hashicorp/aws"]" produced an unexpected new value: .transition_default_minimum_object_size: was cty.StringVal("all_storage_classes_128K"), but now cty.StringVal("").

Old state string

While waiting: timeout while waiting for state to become 'true' (last state: 'false', timeout: 1m0s)

New state string

While waiting: timeout while waiting for state to become 'transition_default_minimum_object_size=all_storage_classes_128K rules_equal=true' (last state: 'transition_default_minimum_object_size= rules_equal=true', timeout: 1m0s)

Relations

Relates #25939

References

Output from Acceptance Testing

Don't have an AWS account - unable to run acceptance test.

@tenstad tenstad requested a review from a team as a code owner October 27, 2025 14:10
@github-actions
Copy link
Contributor

github-actions bot commented Oct 27, 2025

✅ Thank you for correcting the previously detected issues! The maintainers appreciate your efforts to make the review process as smooth as possible.

@github-actions
Copy link
Contributor

Community Guidelines

This comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀

Voting for Prioritization

  • Please vote on this Pull Request by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
  • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
  • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Pull Request and do not help prioritize the request.

Pull Request Authors

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/s3 Issues and PRs that pertain to the s3 service. size/XS Managed by automation to categorize the size of a PR. labels Oct 27, 2025
@justinretzolk justinretzolk added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Requests to existing resources that expand the functionality or scope. service/s3 Issues and PRs that pertain to the s3 service. size/XS Managed by automation to categorize the size of a PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants