Which permission(s) am I missing when I get a ``` ...
# general
m
Which permission(s) am I missing when I get a
Copy code
error creating EKS Cluster (helloworld-eksCluster-8325104): AccessDeniedException: User: arn:aws:iam:…:user/Jens is not authorized to perform: eks:CreateCluster on resource: arn:aws:eks:us-west-2:…:cluster/helloworld-eksCluster-8325104
I’ve got
AmazonEKSClusterPolicy
and
AmazonEKSServicePolicy
attached directly to my User.
w
You need the
eks:CreateCluster
permission mentioned in the message. You’ll need to attach a policy granting that permission. There is frequently not a managed policy for every permission, you normally have to create the policy yourself using the specific permissions you are interested in.
m
Thanks @white-balloon-205, I think I found it…