Skip to content

Commit 10e0534

Browse files
Fix: not able to attach cross account policy to rg portal role.
1 parent 4848ee7 commit 10e0534

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rg_main_stack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Resources:
138138
- iam:CreateRole
139139
- iam:DetachRolePolicy
140140
Resource:
141-
- !Sub "arn:aws:iam::${AWS::AccountId}:role/${BaseAccountPolicyName}"
141+
- !GetAtt RGPortalRole.Arn
142142
- Sid: "PolicyRelatedPermissions"
143143
Effect: Allow
144144
Action:

0 commit comments

Comments
 (0)