Getting IAM role permission error while working on aws: L3 [KodeKloud Engineer] [Simplifying Application Deployment with AWS Elastic Beanstalk]

Getting this error: Unable to assign role. Please verify that you have permission to pass this role: arn:aws:iam::211125330994:role/aws-elasticbeanstalk-service-role.

Is it because of some system error or do I have to create some role for this task? or some other people are facing the same?

Hi,

I’m facing the same issue. I’ll forward it to the team, and we’ll check it. I’ll let you know once we have an update.

Hi,

The team has fixed the PassRole issue, please try again.

Looks good, I was able to complete this task yesterday.

1 Like

hi @peteruller , could you please explain how you completed the task, and which policies have you attached to the role, because I’m trying in many ways but getting same error.

At first I created S3 bucket and uploaded .zip file there. Then 2 IAM roles must be created:

  1. Beanstalk service role with these policies assigned: (name as per task requirements)

  2. EC2 instance role with these policies: (EC2-Beanstalk-role)

Afterwards Beanstalk web app can be successfully created when those 2 roles are assigned:

I am getting below error while creating beanstalk , i have try with custom role and default role also but getting same error

Unable to assign role. Please verify that you have permission to pass this role: arn:aws:iam::992382505541:role/aws-elasticbeanstalk-service-role

Hi @ismailshaikh.tech

Please make sure you’re using the correct role name as specified in the task. The lab only allows assuming special roles.

@raymond.baoly
I am using AWS Playground , both Service role and EC2 instance profile created at the time beanstalk creation.
I am still getting same error. Role name is aws-elasticbeanstalk-service-role

Error :-
Unable to assign role. Please verify that you have permission to pass this role: arn:aws:iam::992382505541:role/aws-elasticbeanstalk-service-role

Thanks for your detail feedback, I’ll check it and feedback to you.