Create role error iam:CreateRole

0

I am try create a archtecture in Learner Lab with IoT core and I want send a message on email. I use this https://docs.aws.amazon.com/iot/latest/developerguide/iot-sns-rule.html of base tutorial, but when I click in create role show this for me Create Role

1개 답변
0
수락된 답변

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

References:

[1] Access denied due to identity-based policies https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_access-denied.html#access-denied-identity-based-policy-examples

[2] Troubleshooting access denied error messages https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_access-denied.html

AWS
답변함 일 년 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠