Skip to content

Commit

Permalink
Update s3.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
kariemoorman authored Apr 26, 2024
1 parent fb20d5e commit 7755346
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tf/step2_cf-only/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,12 @@ resource "aws_s3_object" "upload_object" {
# Create Log bucket
resource "aws_s3_bucket" "log_bucket" {
bucket = "tf-log-bucket"
acl = "private"
ignore_public_acls = true
}

# Create a block public access configuration
resource "aws_s3_bucket_public_access_block" "log_block" {
bucket = aws_s3_bucket.log_bucket.id
ignore_public_acls = true
}

# Add ACL
Expand Down

0 comments on commit 7755346

Please sign in to comment.