Skip to content

fix: s3 bucket lifecycle configuration#6

Merged
simonhops merged 1 commit intomainfrom
sh/fix_bucket_lifecycle_conf
Oct 21, 2025
Merged

fix: s3 bucket lifecycle configuration#6
simonhops merged 1 commit intomainfrom
sh/fix_bucket_lifecycle_conf

Conversation

@simonhops
Copy link
Collaborator

This creates problems when upgraden the aws provider to major version 6.

...
~ transition_default_minimum_object_size = "varies_by_storage_class" -> "all_storage_classes_1

...

Warning: Invalid Attribute Combination

  with aws_s3_bucket_lifecycle_configuration.terraform_state,
  on s3_bucket.tf line 49, in resource "aws_s3_bucket_lifecycle_configuration" "terraform_state":
  49:     expiration {

2 attributes specified when one (and only one) of
[rule[0].expiration[0].date,rule[0].expiration[0].days,rule[0].expiration[0].expired_object_delete_marker]
...

@simonhops simonhops self-assigned this Oct 21, 2025
@simonhops simonhops merged commit eb67c18 into main Oct 21, 2025
3 checks passed
@github-actions
Copy link

🎉 This PR is included in version 1.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant