Skip to content

Commit

Permalink
Add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
pujansrt committed Oct 3, 2019
1 parent dd104ef commit f7fa071
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,23 @@ provider:
memorySize: 1024
timeout: 30
environment: ${file(./env.yml):${opt:stage, self:provider.stage}}
iamRoleStatements:
- Effect: "Allow"
Action:
- cloudformation: CreateStack
- cloudformation: DescribeStacks
- cloudformation: CreateChangeSet
- cloudformation: ListStacks
- cloudformation: UpdateStack
- cloudformation: DescribeChangeSet
- cloudformation: ExecuteChangeSet
- iam: GetRole
- lambda: UpdateFunctionCode
- lambda: UpdateFunctionConfig
- lambda: GetFunctionConfiguration
- lambda: AddPermission
- s3: GetObject
Resource: "*"

functions:
graphql:
Expand Down

0 comments on commit f7fa071

Please sign in to comment.