Skip to content

Commit

Permalink
add missing principal block for s3 policy
Browse files Browse the repository at this point in the history
  • Loading branch information
paliwalvimal committed Jan 26, 2022
1 parent 23fa4d3 commit 0284778
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ data "aws_iam_policy_document" "website_bucket_policy" {
aws_s3_bucket.website_bucket.arn,
"${aws_s3_bucket.website_bucket.arn}/*"
]
principals {
type = "*"
identifiers = ["*"]
}
condition {
test = "Bool"
variable = "aws:SecureTransport"
Expand Down

0 comments on commit 0284778

Please sign in to comment.