Error: getting availability zones when trying to create EKS cluster

2/27/2020

I'm trying to create an EKS cluster but I keep getting the following error. I think it's an issue of permissions, roles, etc but I have minimum experience with AWS stuff.

I found this thread but I have no idea how to implement all these things.

Any help is appreciated, thanks in advance.

$ eksctl create cluster
[ℹ]  eksctl version 0.13.0
[ℹ]  using region us-west-2
Error: getting availability zones: getting availability zones for us-west-2: UnauthorizedOperation: You are not authorized to perform this operation.
    status code: 403, request id: 724b0c02-fb51-43b2-98ab-746a3d2e45a0
-- Raskolnikov
amazon-eks
amazon-web-services
kubernetes

2 Answers

5/29/2020

I have not been able to find the perfect solution but for now you can provide your user with AdministratorAccess policy and it works in IAM.

-- Kushagra Saxena
Source: StackOverflow

2/28/2020

The error says UnauthorizedOperation which means you don't have sufficient permission to create the cluster.

Please make sure you have configured your awscli correctly and you have sufficient permissions.

-- Tummala Dhanvi
Source: StackOverflow