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?
Is this a permission issue with the lab account?
Does my IAM user require the iam:PassRole permission to create an EKS cluster?
Could you please grant the required permission if it is missing?
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.