From 6ebee3fc0424eb36d02a8edc27c9e73ccdffe433 Mon Sep 17 00:00:00 2001 From: "raoha.rh" Date: Wed, 4 Sep 2024 12:16:38 +0800 Subject: [PATCH] feat: upload using cloudfront sign --- template.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/template.yml b/template.yml index 610576fa..243bff8b 100644 --- a/template.yml +++ b/template.yml @@ -151,7 +151,6 @@ Resources: - !Sub 'arn:aws:s3:::${S3TempBucketName}/*' - Sid: LimitUploadsBySize Effect: Deny - Principal: "*" Action: s3:PutObject Resource: - !Sub 'arn:aws:s3:::${S3TempBucketName}/*' @@ -160,7 +159,6 @@ Resources: s3:ContentLength: 5242880 # 5mb - Sid: "AllowOnlyImageUploads" Effect: "Deny" - Principal: "*" Action: "s3:PutObject" Resource: - !Sub 'arn:aws:s3:::${S3TempBucketName}/*'