Could not connect to the endpoint URL: "https://eks.region.amazonaws.com/clusters/CLUSTER

Quote from moshe on 17/11/2021, 4:04 pmProblem
User trying to connect to cluster with the following command
aws eks –region us-east-1a update-kubeconfig –name CLUSTERNAME
and gets the following error
Could not connect to the endpoint URL: “https://eks.region.amazonaws.com/clusters/CLUSTERNAME”
Solution
You have an error with AWS parameters and probable specified wrong region fix to proper region where your CLUSTER installed
aws eks –region us-east-1 update-kubeconfig –name CLUSTERNAME
Problem
User trying to connect to cluster with the following command
aws eks –region us-east-1a update-kubeconfig –name CLUSTERNAME
and gets the following error
Could not connect to the endpoint URL: “https://eks.region.amazonaws.com/clusters/CLUSTERNAME”
Solution
You have an error with AWS parameters and probable specified wrong region fix to proper region where your CLUSTER installed
aws eks –region us-east-1 update-kubeconfig –name CLUSTERNAME