trying to create eks cluster with this config.yaml but it gives error and rollsback cluster creation
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: sgf-eks-cluster
region: us-east-1 # Change this to your preferred region
managedNodeGroups:
- name: ng-1
instanceType: t3.medium
minSize: 2
maxSize: 3
desiredCapacity: 3
privateNetworking: true
availabilityZones: [“us-east-1a”] # Specify the AZ for your nodes
addons:
- name: vpc-cni
- name: coredns
- name: kube-proxy
- name: aws-ebs-csi-driver
---- SEE THE ERROR MESSAGE BELOW—
2024-09-18 23:34:28 [] AWS::EKS::Cluster/ControlPlane: CREATE_FAILED – “Resource handler returned message: "User: arn:aws:iam::654654309110:user/kk_labs_user_739369 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::654654309110:role/eksctl-sgf-eks-cluster-cluster-ServiceRole-QqvBuZ2heBPo (Service: Eks, Status Code: 403, Request ID: 94cb67c3-3e21-4759-a283-60c6ae292b1d)" (RequestToken: 65208ea8-966d-74f8-8c28-c1423b66edcd, HandlerErrorCode: AccessDenied)”