Skip to content

Commit

Permalink
remove lifecycle_rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Tze Yang Ng committed Feb 12, 2025
1 parent 271da04 commit 8535733
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions modules/fluentd/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,6 @@ resource "aws_s3_bucket" "logs" {
}
}

lifecycle_rule {
id = "LogArchivalTransition"
enabled = true

abort_incomplete_multipart_upload_days = var.logs_s3_abort_incomplete_days

transition {
days = var.logs_s3_ia_transition_days
storage_class = "STANDARD_IA"
}

transition {
days = var.logs_s3_glacier_transition_days
storage_class = "GLACIER"
}
}

lifecycle {
prevent_destroy = true
}
Expand Down

0 comments on commit 8535733

Please sign in to comment.