Skip to content

Commit

Permalink
fix: AppDeployer needs perms to create new env (awslabs#762)
Browse files Browse the repository at this point in the history
* fix: AppDeployer needs perms to create new env

* fix: AppDeployer specific changes only

* removing unrelated changes
  • Loading branch information
SanketD92 authored Oct 19, 2021
1 parent 81f20d0 commit 475f49a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main/cicd/cicd-pipeline/config/infra/cloudformation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ Resources:
Type: AWS::SNS::Topic
Properties: !If
- SubscribeNotificationEmail
-
Subscription:
- Subscription:
- Endpoint: ${self:custom.settings.emailForNotifications}
Protocol: email
KmsMasterKeyId: alias/aws/sns
Expand Down Expand Up @@ -229,7 +228,7 @@ Resources:
- Action:
- iam:PassRole
Effect: Allow
Resource: !Sub 'arn:aws:iam::${AWS::AccountId}:role/${self:custom.settings.namespace}-cicd-pipeline-AppDeployerRole-*'
Resource: !Sub 'arn:aws:iam::${AWS::AccountId}:role/${self:custom.settings.namespace}-*'
- Action:
- iam:CreatePolicy
- iam:GetPolicy
Expand Down

0 comments on commit 475f49a

Please sign in to comment.