Skip to content

Commit

Permalink
Merge pull request #31 from uhinze/main
Browse files Browse the repository at this point in the history
Fix failing ACL creation for new buckets
  • Loading branch information
vara-bonthu authored May 22, 2023
2 parents 89a882f + b1b5f9a commit 24fc98c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,6 @@ resource "aws_s3_bucket" "mwaa" {
tags = var.tags
}

resource "aws_s3_bucket_acl" "mwaa" {
count = var.create_s3_bucket ? 1 : 0

bucket = aws_s3_bucket.mwaa[0].id
acl = "private"
}

#tfsec:ignore:aws-s3-encryption-customer-key
resource "aws_s3_bucket_server_side_encryption_configuration" "mwaa" {
count = var.create_s3_bucket ? 1 : 0
Expand Down

0 comments on commit 24fc98c

Please sign in to comment.