Skip to content

Commit

Permalink
LZA-163: add aws_s3_bucket_public_access_block
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalmeribm committed Mar 12, 2024
1 parent 0fc0906 commit 967a46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/aws/cost_usage_reports/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ resource "aws_s3_bucket_server_side_encryption_configuration" "encryption_rules"
}

resource "aws_s3_bucket_public_access_block" "cur_public_access_block" {
bucket = var.bucket_name
bucket = aws_s3_bucket.s3_buckets.id

block_public_acls = true
block_public_policy = true
Expand Down

0 comments on commit 967a46d

Please sign in to comment.