Skip to content

Commit

Permalink
fix: Remove private ACL terraform resource.
Browse files Browse the repository at this point in the history
  • Loading branch information
frozenSolid authored and jim80net committed Jul 11, 2023
1 parent 42b9a57 commit b50ccb2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions logs_monitoring_elb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ resource "aws_s3_bucket_policy" "elb_logs" {
policy = data.aws_iam_policy_document.elb_logs.json
}

resource "aws_s3_bucket_acl" "elb_logs" {
count = var.create_elb_logs_bucket ? 1 : 0
bucket = aws_s3_bucket.elb_logs[0].id
acl = "private"
}

resource "aws_s3_bucket_lifecycle_configuration" "elb_logs" {
count = var.create_elb_logs_bucket ? 1 : 0
bucket = aws_s3_bucket.elb_logs[0].id
Expand Down

0 comments on commit b50ccb2

Please sign in to comment.