Skip to content

Commit 663f905

Browse files
authored
Merge pull request #211 from harshithNayakRelevanceLab/topic-release
Fix: not able to attach cross account policy to rg portal role.
2 parents 4848ee7 + 10e0534 commit 663f905

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)