Skip to content

Commit

Permalink
Update Serverless IAM config
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilsson committed Apr 8, 2023
1 parent f1a620a commit 7d03015
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,23 @@ provider:
name: aws
runtime: go1.x
region: eu-west-1
iamRoleStatements:
- Effect: 'Allow'
Action:
- 'dynamodb:Query'
Resource:
Fn::GetAtt:
- jiphy
- Arn
- Effect: 'Allow'
Action:
- 'dynamodb:Scan'
Resource:
Fn::GetAtt:
- jiphy
- Arn
iam:
role:
statements:
- Effect: 'Allow'
Action:
- 'dynamodb:Query'
Resource:
Fn::GetAtt:
- jiphy
- Arn
- Effect: 'Allow'
Action:
- 'dynamodb:Scan'
Resource:
Fn::GetAtt:
- jiphy
- Arn
deploymentBucket:
blockPublicAccess: true

Expand Down

0 comments on commit 7d03015

Please sign in to comment.