diff --git a/cloudformation/static-web-site-distribution/template.yml b/cloudformation/static-web-site-distribution/template.yml index abd3199..6a5f31c 100644 --- a/cloudformation/static-web-site-distribution/template.yml +++ b/cloudformation/static-web-site-distribution/template.yml @@ -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: @@ -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: "*"