Skip to content

Conversation

@jjurzyn
Copy link

@jjurzyn jjurzyn commented May 12, 2025

what

why

  • In September 2024 Amazon S3 updated the default transition behavior for small objects that prevents objects smaller than 128 KB from being transitioned to any storage class.
  • All lifecycle rules created before September 2024 have default transition behavior set to varies_by_storage_class.
  • Currently, the module doesn't support changing it to the previous default value.

terraform plan wants to modify lifecycle configuration as follows:

# module.s3.aws_s3_bucket_lifecycle_configuration.default[0] will be updated in-place
! resource "aws_s3_bucket_lifecycle_configuration" "default" {
        id                                     = <name>
!       transition_default_minimum_object_size = "varies_by_storage_class" -> "all_storage_classes_128K"
        # (1 unchanged attribute hidden)

        # (1 unchanged block hidden)
    }

references

@jjurzyn jjurzyn requested review from a team as code owners May 12, 2025 16:29
@mergify mergify bot added the triage Needs triage label May 12, 2025
@jjurzyn
Copy link
Author

jjurzyn commented May 13, 2025

Fixes #267

@oycyc
Copy link

oycyc commented May 14, 2025

/terratest

@mergify
Copy link

mergify bot commented Jun 11, 2025

💥 This pull request now has conflicts. Could you fix it @jjuinfare? 🙏

@mergify mergify bot added the conflict This PR has conflicts label Jun 11, 2025
@sht
Copy link

sht commented Jul 4, 2025

Can somebody please resolve the conflicts and merge this? I need this feature 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conflict This PR has conflicts triage Needs triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants