diff options
Diffstat (limited to 'cron/serverless.yml')
| -rw-r--r-- | cron/serverless.yml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/cron/serverless.yml b/cron/serverless.yml index 141e7e4..42103bc 100644 --- a/cron/serverless.yml +++ b/cron/serverless.yml @@ -6,13 +6,15 @@ provider: region: eu-west-1 memorySize: 128 timeout: 20 - iamRoleStatements: - - Effect: "Allow" - Action: "s3:*" - Resource: "arn:aws:s3:::imgs.geshem.space/*" - - Effect: "Allow" - Action: "s3:*" - Resource: "arn:aws:s3:::imgs.geshem.space" + iam: + role: + statements: + - Effect: "Allow" + Action: "s3:*" + Resource: "arn:aws:s3:::imgs.geshem.space/*" + - Effect: "Allow" + Action: "s3:*" + Resource: "arn:aws:s3:::imgs.geshem.space" functions: update: |
