1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
I was able to fix your template Join statement..
Change:
!Join ["", ["arn:aws:iam::${AWS::AccountId}:role/",!Join [ "-", [ "role", !Ref "AWS::Region", !Ref EnvType ]]]]
To:
{"Fn::Join": ["", ["arn:aws:iam::",{"Ref": "AWS::AccountId"},":role/",{"Fn::Join": ["-", ["role", {"Ref": "AWS::Region"},{"Ref":"EnvType"}]]}]]}
Hope this helps!
-randy
Relevant content
- asked 7 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a month ago