Skip to content

Commit

Permalink
Update s3.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
kariemoorman committed Apr 26, 2024
1 parent b3ec077 commit de6f050
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tf/step2_cf-only/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ resource "aws_s3_bucket" "log_bucket" {
# Create a block public access configuration
resource "aws_s3_bucket_public_access_block" "log_block" {
bucket = aws_s3_bucket.log_bucket.id

block_public_acls = true
block_public_policy = true
ignore_public_acls = true
restrict_public_buckets = true
}

# Add ACL
Expand Down

0 comments on commit de6f050

Please sign in to comment.