Skip to content

Commit

Permalink
feat: upload using cloudfront sign
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed Sep 4, 2024
1 parent fa84853 commit 6ebee3f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ Resources:
- !Sub 'arn:aws:s3:::${S3TempBucketName}/*'
- Sid: LimitUploadsBySize
Effect: Deny
Principal: "*"
Action: s3:PutObject
Resource:
- !Sub 'arn:aws:s3:::${S3TempBucketName}/*'
Expand All @@ -160,7 +159,6 @@ Resources:
s3:ContentLength: 5242880 # 5mb
- Sid: "AllowOnlyImageUploads"
Effect: "Deny"
Principal: "*"
Action: "s3:PutObject"
Resource:
- !Sub 'arn:aws:s3:::${S3TempBucketName}/*'
Expand Down

0 comments on commit 6ebee3f

Please sign in to comment.