Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nao1215 committed Feb 8, 2024
1 parent f431924 commit 1380772
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions cloudformation/static-web-site-distribution/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,13 @@ Resources:
PolicyDocument:
Version: "2012-10-17"
Statement:
- Sid: AllowSSLRequestsOnly
Action: "s3:*"
- Action: "s3:*"
Effect: Deny
Principal: "*"
Resource: "*"
Condition:
Bool:
"aws:SecureTransport": true
"aws:SecureTransport": false

ContentBucketReplicationRole:
Type: AWS::IAM::Role
Expand Down Expand Up @@ -118,11 +117,10 @@ Resources:
PolicyDocument:
Version: "2012-10-17"
Statement:
- Sid: AllowSSLRequestsOnly
Action: "s3:*"
- Action: "s3:*"
Effect: Deny
Principal: "*"
Resource: "*"
Condition:
Bool:
"aws:SecureTransport": true
"aws:SecureTransport": false

0 comments on commit 1380772

Please sign in to comment.