4 Answers
- Newest
- Most votes
- Most comments
0
Hi,
I was able to reproduce the "not authorized to perform iam:PassRole" error.
To fix that error, I had to change:
ActionMode: CHANGE_SET_REPLACE
RoleArn: !Ref CloudFormationRole
To:
ActionMode: CHANGE_SET_REPLACE
RoleArn: !GetAtt CloudFormationRole.Arn
And also change:
ActionMode: CHANGE_SET_EXECUTE
RoleArn: !Ref CloudFormationRole
To:
ActionMode: CHANGE_SET_EXECUTE
RoleArn: !GetAtt CloudFormationRole.Arn
That should hopefully unblock you on the "not authorized" error message.
Hope this helps,
-randy
Edited by: RandyTakeshita on Sep 4, 2019 7:11 AM - removed last comment block..
answered 5 years ago
0
Hi,
Have you verified that the actual user that is launching the CloudFormation stack has the iam:PassRole permission?
-randy
Edited by: RandyTakeshita on Sep 3, 2019 12:04 AM
answered 5 years ago
0
Hello, Randy
Thank you for your reply
I'm operating on root user. So user has iam:PassRole permission.
answered 5 years ago
Relevant content
- asked 4 months ago
- Accepted Answerasked a month ago
- Accepted Answerasked 6 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 10 months ago