Skip to content

Commit

Permalink
Fix depreacated warning on aws_s3_bucket_lifecycle_configuration filt…
Browse files Browse the repository at this point in the history
…er (Guimove#134)
  • Loading branch information
DarkIsDude authored Mar 28, 2022
1 parent 741a83b commit 891fb9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buckets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ resource "aws_s3_bucket_lifecycle_configuration" "bucket" {
id = "log"
status = var.enable_logs_s3_sync && var.log_auto_clean ? "Enabled" : "Disabled"

prefix = "logs/"
filter {
prefix = "logs/"
}

transition {
days = var.log_standard_ia_days
Expand Down

0 comments on commit 891fb9a

Please sign in to comment.