Anthony Xiques
04/23/2021, 9:21 PMprovider:
name: aws
runtime: nodejs12.x
memorySize: 128
lambdaHashingVersion: 20201221
iam:
role:
statements:
- Effect: 'Allow'
Action:
- s3:DeleteObject
Resource: 'arn:aws:s3:::xyz-user-downloads-dev/*'
- Effect: 'Allow'
Action:
- s3:DeleteObject
Resource: 'arn:aws:s3:::xyz-user-downloads-prod/*'
But when I deploy through Seed and then check the permissions shown for that Lambda in the AWS console, I only see CloudWatch Logs permissions (screenshot attached).
TIA for your help!Ross Coundon
04/23/2021, 9:24 PMarn:aws:s3:::xyz-user-downloads-dev/*
and
arn:aws:s3:::xyz-user-downloads-dev
Where in the console is the screenshot from?Anthony Xiques
04/23/2021, 9:25 PMAllow
statements for that? or if they can be combined?
Screenshot comes from Lambda >> Functions >> [function name] >> Configuration >> Permissions.Ross Coundon
04/23/2021, 9:26 PMRoss Coundon
04/23/2021, 9:26 PMAnthony Xiques
04/23/2021, 9:32 PM