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 710c2ff commit ec2752e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tf/step2_cf_rt53/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ resource "aws_s3_bucket" "log_bucket" {
bucket = "tf-log-bucket"
}

resource "aws_s3_bucket_acl" "log_bucket_acl" {
bucket = aws_s3_bucket.log_bucket.id
acl = "log-delivery-write"
}

# Add logging
resource "aws_s3_bucket_logging" "s3log" {
bucket = aws_s3_bucket.week1-bucket.id
Expand Down

0 comments on commit ec2752e

Please sign in to comment.