Difference between revisions of "Terraform output -raw region"
Jump to navigation
Jump to search
(Redirected page to Terraform output) Tag: New redirect |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lc}} | |
+ | |||
+ | |||
+ | [[terraform output -raw]] [[Amazon regions|region]] | ||
+ | [[us-central1]] | ||
+ | |||
+ | [[terraform output -raw]] [[Amazon regions|region]] | ||
+ | us-east-1% | ||
+ | |||
+ | |||
+ | [[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 == | ||
+ | * {{terraform output}} | ||
+ | |||
+ | |||
+ | [[Category:Terraform]] |
Latest revision as of 21:19, 23 October 2023
terraform output -raw region us-central1
terraform output -raw region us-east-1%
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[edit]
terraform output [ -raw | -json | --help ]
Advertising: