Skip to content

Commit

Permalink
chore: remove lifecycle block on bucket policy (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
esacteksab authored Jan 15, 2025
1 parent b22f7c4 commit f950d3e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -395,12 +395,6 @@ resource "aws_s3_bucket" "aws_logs" {
resource "aws_s3_bucket_policy" "aws_logs" {
bucket = aws_s3_bucket.aws_logs.id
policy = data.aws_iam_policy_document.main.json
lifecycle {
ignore_changes = [
# Allows a user to append a custom policy if needed
policy
]
}
}

resource "aws_s3_bucket_acl" "aws_logs" {
Expand Down

0 comments on commit f950d3e

Please sign in to comment.