Create role error iam:CreateRole


I am try create a archtecture in Learner Lab with IoT core and I want send a message on email. I use this of base tutorial, but when I click in create role show this for me Create Role

1 Answer
Accepted Answer

Hello ,

Thank you for posting your question on the AWS Repost, my name is Rochak and it will be a pleasure assisting you with this today.

I understand y are getting an error while trying to send message on email and you received the error message you shared. Please, let me know if my understanding is incorrect.

As we can see in the error message the user is not authorized to perform that action because no identity-based policy allows the action iam: CreateRole.

This falls under the Access denied due to identity-based policy as shown here in the documentation [1] This is an implicit denial and for the error, please check for a missing Allow statement for iam:CreateRole in identity-based policies attached to user. Once you add the Allow statement for the iam user to CreateRole, you will be able to perform the action.

For your future reference, I am also attaching the “Troubleshooting access denied error messages” here [2]

I hope this helps. If you need further info, let me know in the comments; otherwise I'd appreciate if you mark my answer as "accepted".

Kind regards, Rochak from AWS


[1] Access denied due to identity-based policies

[2] Troubleshooting access denied error messages

answered 16 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions