Unable to Create EKS Cluster – Node IAM Role Issue

Hi Team,

I’m unable to create an EKS cluster due to an issue with the Node IAM Role. When I assign any random name to the role, I encounter the following error:

Error Message - User: arn:aws:iam::059254148810:user/kk_labs_user_316044 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::059254148810:role/iamRole-AmazonEKSAutoNodeRole because no identity-based policy allows the iam:PassRole action

Could you please confirm the correct name or configuration for the Node IAM Role required to make this work?

Thank you,
Vidya

1 Like

How are you creating the cluster exactly. If you’re using the eksctl utility – we don’t support that due to side effects of permitting its action. Instead, please use this tutorial for creating the cluster; this will work with the restrictions we need to put on the playground accounts.

Hi @rob_kodekloud , Thank you so much for the information. Its working as expected.

Regards
Vidya