-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
52 lines (50 loc) · 1.52 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
output "gke_cluster_name" {
value = google_container_cluster.gke.name
description = "Cluster name"
}
output "gke_cluster_id" {
value = google_container_cluster.gke.id
description = "Cluster name"
}
output "gke_endpoint" {
value = google_container_cluster.gke.endpoint
sensitive = true
description = "The kubernetes endpoint"
}
output "gke_ca_certificate" {
value = google_container_cluster.gke.master_auth.0.cluster_ca_certificate
sensitive = true
description = "The kubernetes CA certificate"
}
output "gke_location" {
value = google_container_cluster.gke.location
description = "Location of the GKE cluster. Region if cluster is regional, zone if zonal"
}
output "project_id" {
value = local.project_id
description = "ID of the project containing the cluster"
}
output "vpc_name" {
value = module.network.network_name
description = "Name of the created VPC (network)"
}
output "vpc_id" {
value = module.network.network_id
description = "VPC (network) ID"
}
output "vpc_self_link" {
value = module.network.network_self_link
description = "VPC (network) self link"
}
output "gke_zones" {
value = google_container_cluster.gke.node_locations
description = "List of zones where the cluster lives"
}
output "nat_ip" {
value = google_compute_address.cloud_nat_address.*.address
description = "The IP address allocated for NAT"
}
output "subnetwork_name" {
value = module.network.subnets_names.0
description = "Name of the subnetwork"
}