User: arn:aws:iam::227680169240:user/kk_labs_user_329731 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::227680169240:role/EKS_Role
While creating an EKS cluster in AWS, I encountered an error. , and also attached screenshot of the error. and I can’t log AWS CLI using IAM Access and secret key, Could you please help me resolve it.
hi @ Alistair Mackay, Thanks for you reply now I can able to create EKS Cluster in AWS Playground, but I can’t able to create NodeGroups in EKS, I got error like below, could you please help me to resolve it ?
User: arn:aws:iam::511964875546:user/kk_labs_user_363693 is not authorized to perform: eks:CreateNodegroup on resource: arn:aws:eks:us-east-1:511964875546:cluster/demo-eks with an explicit deny
You are trying to create a managed node group. As mentioned above, you cannot do this.
Please follow the playground series guide above to learn how to create an unmanaged node group.
AutoNodeRole is for managed nodes which are not permitted by our AWS accounts. I cannot imagine the task will direct you to create the same.
Configure the cluster as per our playground instructions and it should launch.
@Alistair_KodeKloud I am following the guide on GitHub for playgrounds.
I was able to create the cluster a few times…but I run into the below error a lot. I am not using node groups for roles
User: arn:aws:iam::654654139377:user/kk_labs_user_545305 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::654654139377:role/ekscluster
Permissions such as iam:PassRole are granted to only specific role names in playground accounts, so no, the role cannot have any name
The terraform provisions the EC2 instances for the nodes. It does not join them to the cluster. That is done using the node instance role which is printed at the end of the terraform run, here.