Skip to content

Commit

Permalink
Merge pull request #72 from manics/deployment-instance-iam
Browse files Browse the repository at this point in the history
Add permissions to deployment instance role for CDK
  • Loading branch information
manics authored Jun 8, 2022
2 parents 6a24240 + 6eb4d89 commit 4fb3ab0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/deployment/DeploymentInstance-Cfn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,19 @@ Resources:
- cloudformation:DescribeStackEvents
Effect: Allow
Resource: "*"
- PolicyName: CdkDeploy
PolicyDocument:
Statement:
# In addition to CloudFormationAccess
- Action:
- cloudformation:CreateChangeSet
- cloudformation:DescribeChangeSet
- cloudformation:ExecuteChangeSet
- ecr:CreateRepository
- ecr:SetRepositoryPolicy
- ecr:DescribeRepositories
Effect: Allow
Resource: "*"
- PolicyName: LogsAccess
PolicyDocument:
Statement:
Expand Down Expand Up @@ -405,6 +418,9 @@ Resources:
- lambda:RemovePermission
- lambda:DeleteFunction
- lambda:UpdateFunctionCode
# Needed for subsequent updates to deployment
- lambda:UpdateFunctionConfiguration
- lambda:ListTags
Resource: "*"
- PolicyName: SMWorkflowPolicy
PolicyDocument:
Expand Down

0 comments on commit 4fb3ab0

Please sign in to comment.