Unable to create Amazon EKS cluster - iam:PassRole permission denied for AmazonEKSClusterRole

eks
aws
iam
iam-passrole
lab

Hi Team,

I am currently working on the AWS EKS lab and trying to create an Amazon EKS cluster using the AWS Management Console.

During cluster creation, I receive the following error:

User: arn:aws:iam::211125745405:user/kk_labs_user_609621 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::211125745405:role/AmazonEKSClusterRole because no identity-based policy allows the iam:PassRole action.

I am using the AmazonEKSClusterRole provided in the lab and have not modified any IAM roles or policies.

Could you please help me with the following?

  1. Is this a permission issue with the lab account?
  2. Does my IAM user require the iam:PassRole permission to create an EKS cluster?
  3. Could you please grant the required permission if it is missing?
  4. Will I need to request this permission every time a new KK Labs environment is provisioned, or is there a permanent solution?

I have attached the screenshot of the error for reference.

Thank you.

Please refer to our guide on creating an EKS cluster on Playgrounds.

We also have a note about IAM permissions in the playground. You can read more here:

I hope it helps answer your question.