We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55826dc commit 8ad34dcCopy full SHA for 8ad34dc
packages/template/serverless.yml
@@ -45,13 +45,15 @@ provider:
45
iamRoleStatements:
46
- Effect: 'Allow'
47
Action:
48
- - 's3:*'
49
- Resource: '*'
+ - 's3:GetObject'
+ - 's3:PutObject'
50
+ Resource:
51
+ - 'arn:aws:s3:::${self:custom.file.s3Bucket}/*'
52
53
54
+ - 's3:ListBucket'
55
Resource:
- - 'arn:aws:s3:::${self:custom.file.s3Bucket}/*'
56
+ - 'arn:aws:s3:::${self:custom.file.s3Bucket}'
57
58
# The `functions` block defines what code to deploy
59
functions:
0 commit comments