From 1380772668044c07287d4ef295906a57d406f726 Mon Sep 17 00:00:00 2001 From: CHIKAMATSU Naohiro Date: Thu, 8 Feb 2024 20:59:46 +0900 Subject: [PATCH] Fix --- .../static-web-site-distribution/template.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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