terraform output -raw region

From wikieduonline
Revision as of 21:35, 30 October 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search


terraform output -raw region
us-central1
gcloud container clusters get-credentials $(terraform output -raw kubernetes_cluster_name) --region $(terraform output -raw region)
Fetching cluster endpoint and auth data.
ERROR: (gcloud.container.clusters.get-credentials) ResponseError: code=404, message=Not found: projects/your-project/locations/us- 
central1/clusters/your-cluster-gke. 
Could not find [your-cluster-gke] in [ us-central1 ].
Did you mean [your-cluster-gke] in [ us-central1-a ]?

See also

Advertising: