Skip to content

Commit

Permalink
Data analytics ADM role fix (#809)
Browse files Browse the repository at this point in the history
Add IaC to allow secure pipelines deploy role to modify data analytics ADM role
  • Loading branch information
hdavey-gds authored May 22, 2024
1 parent d1e42af commit 467107a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iac/main/resources/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ DeployRoleExtraIAMActions:
- !Sub 'arn:aws:iam::${AWS::AccountId}:instance-profile/${Environment}*'
- !Sub 'arn:aws:iam::${AWS::AccountId}:role/LambdaExecutionRole'
- !Sub 'arn:aws:iam::${AWS::AccountId}:role/*DeployRole*'
- !If
- IsProduction
- !Sub 'arn:aws:iam::${AWS::AccountId}:role/data-analytics-adm-redshift-role'
- !Ref AWS::NoValue
Roles:
- Fn::If:
- IsDev
Expand Down

0 comments on commit 467107a

Please sign in to comment.