Skip to content

Commit

Permalink
fix aws template-5
Browse files Browse the repository at this point in the history
  • Loading branch information
Facundo De Lorenzo committed May 20, 2024
1 parent c45a474 commit b8abb06
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/api/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ Resources:
RoleName: APIExecutionRole
AssumeRolePolicyDocument:
Version: '2012-10-17'
Statement:
- Effect: Allow
Principal:
Service: 'lambda.amazonaws.com'
Action: 'sts:AssumeRole'
Roles:
- DynamoDBCrudPolicy
Statement:
- Effect: Allow
Principal:
Service: 'lambda.amazonaws.com'
Action: 'sts:AssumeRole'
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess

MyApi:
Type: AWS::Serverless::Api
Expand Down

0 comments on commit b8abb06

Please sign in to comment.