Skip to content

Commit

Permalink
SecureTransport true
Browse files Browse the repository at this point in the history
  • Loading branch information
nao1215 committed Feb 8, 2024
1 parent 41cb1f1 commit 6947859
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cloudformation/static-web-site-distribution/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ Resources:
- !Sub "arn:${AWS::Partition}:s3:::${ContentBucket}/*"
Condition:
Bool:
"aws:SecureTransport": false
NumericLessThan:
"s3:TlsVersion": "1.3"
"aws:SecureTransport": true
Principal: "*"

ContentBucketReplicationRole:
Expand Down Expand Up @@ -130,7 +128,5 @@ Resources:
- !Sub "arn:${AWS::Partition}:s3:::${ContentS3BucketReplica}/*"
Condition:
Bool:
"aws:SecureTransport": false
NumericLessThan:
"s3:TlsVersion": "1.3"
"aws:SecureTransport": true
Principal: "*"

0 comments on commit 6947859

Please sign in to comment.