Skip to content

Commit

Permalink
Integ test now 'successfully' fails as intended; switched session tag…
Browse files Browse the repository at this point in the history
…s to cfnexecutionrole instead of deployrole

Signed-off-by: Sumu <sumughan@amazon.com>
  • Loading branch information
sumupitchayan committed Aug 12, 2024
1 parent e50a57c commit 9f2e54b
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -436,19 +436,19 @@ Resources:
Principal:
AWS:
Ref: AWS::AccountId
Condition:
StringEquals:
aws:RequestTag/Department: "Engineering"
# Condition:
# StringEquals:
# aws:RequestTag/Department: "Engineering"
- Fn::If:
- HasTrustedAccounts
- Action: sts:AssumeRole
Effect: Allow
Principal:
AWS:
Ref: TrustedAccounts
Condition:
StringEquals:
aws:RequestTag/Department: "Engineering"
# Condition:
# StringEquals:
# aws:RequestTag/Department: "Engineering"
- Ref: AWS::NoValue
Policies:
- PolicyDocument:
Expand Down Expand Up @@ -548,6 +548,9 @@ Resources:
Effect: Allow
Principal:
Service: cloudformation.amazonaws.com
Condition:
StringEquals:
aws:RequestTag/Department: "Engineering"
Version: '2012-10-17'
ManagedPolicyArns:
Fn::If:
Expand Down

0 comments on commit 9f2e54b

Please # to comment.