diff --git a/Modules/S3/main.tf b/Modules/S3/main.tf index cce6852..d3fb3d6 100644 --- a/Modules/S3/main.tf +++ b/Modules/S3/main.tf @@ -88,6 +88,7 @@ resource "aws_s3_bucket_policy" "frontend_bucket_policy" { Version = "2012-10-17" Statement = [ { + Sid = "AllowCloudFrontServiceReadAccess" Effect = "Allow" Principal = { Service = "cloudfront.amazonaws.com" } Action = "s3:GetObject"