aws eks update-kubeconfig --name YOUR-EKS-CLUSTER-NAME --region aws-region --role-arn

From wikieduonline
Jump to navigation Jump to search

aws eks update-kubeconfig --name eks-cluster-name --region aws-region --role-arn you-may-use-a-nonexistan-role-and-command-will-not-fail

Errors[edit]

An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:iam::1234567890:user/your-user is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::1234567890:role/your-cluster-202312131231231

Related[edit]

--role-arn arn:aws:iam::012345678910:role/eks-service-role-AWSServiceRoleForAmazonEKS-J7ONKE3BQ4PI

See also[edit]

Advertising: