Skip to content

Commit 4ab3463

Browse files
committed
update S3 bucket policy id and comment
1 parent 688950a commit 4ab3463

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,14 @@ resource "aws_route53_record" "website_cdn_root_record" {
232232
}
233233

234234

235-
# Creates policy to limit access to the S3 bucket to CloudFront Origin
235+
# Creates policy to allow public access to the S3 bucket
236236
resource "aws_s3_bucket_policy" "update_website_root_bucket_policy" {
237237
bucket = aws_s3_bucket.website_root.id
238238

239239
policy = <<POLICY
240240
{
241241
"Version": "2012-10-17",
242-
"Id": "PolicyForCloudFrontPrivateContent",
242+
"Id": "PolicyForWebsiteEndpointsPublicContent",
243243
"Statement": [
244244
{
245245
"Sid": "PublicRead",

0 commit comments

Comments
 (0)