more optimizations to reduce lambda size

This commit is contained in:
EC2 Default User
2018-05-24 06:50:24 +00:00
parent 1ba5b74eeb
commit bfbb2e27a8
2 changed files with 4 additions and 10 deletions

View File

@@ -18,13 +18,8 @@ provider:
iamRoleStatements:
- Effect: Allow
Action:
- dynamodb:Query
- dynamodb:Scan
- dynamodb:GetItem
- dynamodb:PutItem
- dynamodb:UpdateItem
- dynamodb:DeleteItem
Resource: "arn:aws:dynamodb:${opt:region, self:provider.region}:*:table/*"
- dynamodb:*
Resource: "*"
- Effect: Allow
Action:
- SNS:*