Skip to content

Commit

Permalink
Fixed that newer_noncurrent_versions was not passed (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkobayash authored Sep 25, 2024
1 parent 33ef465 commit b20f17f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions aws/private-s3-bucket/bucket_options.tf
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,16 @@ resource "aws_s3_bucket_lifecycle_configuration" "b" {
dynamic "noncurrent_version_transition" {
for_each = rule.value.noncurrent_version_transition
content {
noncurrent_days = noncurrent_version_transition.value.days
storage_class = noncurrent_version_transition.value.storage_class
newer_noncurrent_versions = noncurrent_version_transition.value.versions
noncurrent_days = noncurrent_version_transition.value.days
storage_class = noncurrent_version_transition.value.storage_class
}
}
dynamic "noncurrent_version_expiration" {
for_each = rule.value.noncurrent_version_expiration
content {
noncurrent_days = noncurrent_version_expiration.value.days
newer_noncurrent_versions = noncurrent_version_expiration.value.versions
noncurrent_days = noncurrent_version_expiration.value.days
}
}
}
Expand Down

0 comments on commit b20f17f

Please sign in to comment.