Unable to connect eks cluster

HI Team,

i have created a EKS cluster and it is in active status but i am unable to run the command on my lap please help me to understand the issue and guide me on how to connect to the cluster from my laptop

cmd : aws eks update-kubeconfig --region us-east-1 --name demo-eks

reffer from this github repo guide : certified-kubernetes-administrator-course/managed-clusters/eks/console/docs at master · kodekloudhub/certified-kubernetes-administrator-course · GitHub

I believe that should work, but you do need to set up your AWS credentials for the aws cli. If it is set up on your lapop, then per the instructions in the CKA repo, aws eks update-kubeconfig should be able to insert your new cluster’s credentials into your local kubeconfig file.