Skip to content

Commit 4f20f60

Browse files
authored
Merge pull request aws-samples#36 from jplock/jp-fix-cf-stackset
[fix] execution role needs to trust admin role
2 parents 6cb9a2c + 141f530 commit 4f20f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stackset_roles/template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Resources:
220220
Statement:
221221
- Effect: Allow
222222
Principal:
223-
AWS: !Sub "arn:${AWS::Partition}:iam::${pManagementAccountId}:root"
223+
AWS: !Sub "arn:${AWS::Partition}:iam::${pManagementAccountId}:role/AWSCloudFormationStackSetAdministrationRole"
224224
Action: "sts:AssumeRole"
225225
Description: !Sub "DO NOT DELETE - Used by CloudFormation StackSets. Created by CloudFormation ${AWS::StackId}"
226226
ManagedPolicyArns:

0 commit comments

Comments
 (0)