100 Day of Cloud (AWS): Day 47: Integrating AWS SQS and SNS for Reliable Messaging

Unable to create a aws cloudformation stack with Policy Attached.

Resource handler returned message: “User: arn:aws:iam::556885146972:user/kk_labs_user_914592 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::556885146972:role/nautilus-priorities-lambda-role because no identity-based policy allows the iam:PassRole action (Service: Lambda, Status Code: 403, Request ID: fe3d9c28-23dc-4cba-9d1e-866817bd1ea2) (SDK Attempt Count: 1)” (RequestToken: cf3b1a57-3e58-81e2-1e1c-9897ee02913a, HandlerErrorCode: AccessDenied)

Unable to created as aws cfn with Policy Attached.

Resource handler returned message: “User: arn:aws:iam::556885146972:user/kk_labs_user_914592 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::556885146972:role/nautilus-priorities-lambda-role because no identity-based policy allows the iam:PassRole action (Service: Lambda, Status Code: 403, Request ID: fe3d9c28-23dc-4cba-9d1e-866817bd1ea2) (SDK Attempt Count: 1)” (RequestToken: cf3b1a57-3e58-81e2-1e1c-9897ee02913a, HandlerErrorCode: AccessDenied)

Hi @nivekaa

Please refer to the solution here and try again kodekloud-engineer/100_Days_of_Cloud-AWS/Day47.md at main · Srikanth0824/kodekloud-engineer · GitHub

REFERR TO THIS ALSO IF IT HELPS

WATCH THE VIDEO AND COPY THE TEMPLATE