100 days of AWS, 43 Day 43: Scaling and Managing Kubernetes Clusters with Amazon EKS Permission issue

Hello Team,

I am facing an authorization issue while attempting to create an Amazon EKS cluster in the lab environment.

I am logged in as IAM user kk_labs_user_275216 and have successfully created the required EKS cluster IAM role (eksClusterRole ). However, during validation I observed that my user does not have permission to perform iam on this role.

As a result, the EKS cluster creation cannot proceed, since AWS requires the calling identity to have iam permission on the cluster role for Amazon EKS to assume it.
advise if there is an existing approved role I should use instead)? Thank you for your support.

Hi @Deviprasad,

Assuming you are using EKS Auto mode, the issue is most likely due to auto mode trying to create certain resources such as node groups and automatically passing IAM roles, which can be blocked in restricted/shared lab environments.

Try disabling eks auto mode and retrying the cluster creation. I have successfully completed task.

If you are not using auto mode, please share some more details such as the exact error message or steps you followed, and we can troubleshoot further.