Hello,
I am getting following error when creating EKS cluster using eksctl.
User: arn:aws:iam::867344457183:user/kk_labs_user_544470 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::867344457183:role/eksctl-eks-cluster-cluster-ServiceRole-Ux9LQ0VNinkV (Service: Eks, Status Code: 403, Request ID: ed275567-943a-49e5-819c-c5473c1abb8d)" (RequestToken: 90509173-6b95-066f-53c4-255bf2be73e8, HandlerErrorCode: AccessDenied)
I am using following yaml file.
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: eks-cluster
region: us-west-2
version: “1.29”
iam:
withOIDC: true
managedNodeGroups:
- name: eks-ng
instanceType: t3.medium
desiredCapacity: 2
minSize: 2
maxSize: 3
volumeSize: 50
volumeType: gp3
volumeEncrypted: true
availabilityZones: [“us-west-2a”,“us-west-2b”,“us-west-2c”,“us-west-2d”]