diff --git a/cloudformation/static-web-site-distribution/template.yml b/cloudformation/static-web-site-distribution/template.yml index a1000d2..de1187e 100644 --- a/cloudformation/static-web-site-distribution/template.yml +++ b/cloudformation/static-web-site-distribution/template.yml @@ -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 @@ -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