Skip to content

Commit

Permalink
Add lambda permisions for dynamo table
Browse files Browse the repository at this point in the history
  • Loading branch information
trbarrett committed Jun 11, 2020
1 parent 9b8e7c7 commit fda0bb3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ provider:
DYNAMO_REGION: ${self:provider.region}
DYNAMO_CARDS_TABLE: ${self:provider.tables.cards}

iamRoleStatements:
- Effect: "Allow"
Action:
- "dynamodb:*"
Resource:
- "#{CardsDynamoDBTable.Arn}"


package:
artifact: package.zip

Expand Down

0 comments on commit fda0bb3

Please sign in to comment.