-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathoutputs.tf
More file actions
21 lines (18 loc) · 763 Bytes
/
outputs.tf
File metadata and controls
21 lines (18 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
output "cluster_name" {
description = "GKE Cluster Name to use for a Kubernetes terraform provider"
value = google_container_cluster.this.name
}
output "cluster_host" {
description = "GKE Cluster host to use for a Kubernetes terraform provider"
value = "https://${google_container_cluster.this.endpoint}"
}
output "cluster_ca_certificate" {
description = "GKE Cluster CA certificate to use for a Kubernetes terraform provider"
value = base64decode(google_container_cluster.this.master_auth[0].cluster_ca_certificate)
sensitive = true
}
output "cluster_token" {
description = "GKE Cluster Token to use for a Kubernetes terraform provider"
value = data.google_client_config.current.access_token
sensitive = true
}