-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
executable file
·55 lines (42 loc) · 1.2 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
53
54
55
output "location" {
value = var.location
}
output "gke_cluster_name" {
value = google_container_cluster.primary.name
}
output "channel" {
value = var.release_channel
}
output "channel_default_version" {
value = data.google_container_engine_versions.versions.release_channel_default_version[var.release_channel]
}
output "channel_latest_master_version" {
value = data.google_container_engine_versions.versions.latest_master_version
}
output "channel_latest_node_version" {
value = data.google_container_engine_versions.versions.latest_node_version
}
output "current_master_version" {
value = google_container_cluster.primary.master_version
}
output "current_node_version" {
value = google_container_cluster.primary.node_version
}
output "network" {
value = google_compute_network.network.name
}
output "subnetwork_nodes" {
value = google_compute_subnetwork.nodes.name
}
output "nodes_cidr" {
value = google_compute_subnetwork.nodes.ip_cidr_range
}
output "cluster_cidr" {
value = google_container_cluster.primary.cluster_ipv4_cidr
}
output "services_cidr" {
value = google_container_cluster.primary.services_ipv4_cidr
}
output "nat_ips" {
value = google_compute_address.nat[*].address
}