-
Notifications
You must be signed in to change notification settings - Fork 4
/
outputs.tf
125 lines (99 loc) · 3.24 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
// region terraform-google-modules/kubernetes-engine
output "cluster_name" {
description = "Cluster name"
value = module.gke.name
}
output "cluster_type" {
description = "Cluster type (regional / zonal)"
value = module.gke.type
}
output "cluster_location" {
description = "Cluster location (region if regional cluster, zone if zonal cluster)"
value = module.gke.location
}
output "cluster_region" {
description = "Cluster region"
value = module.gke.region
}
output "cluster_zones" {
description = "List of zones in which the cluster resides"
value = module.gke.zones
}
output "cluster_endpoint" {
sensitive = true
description = "Cluster endpoint"
value = "https://${module.gke.endpoint}"
}
output "cluster_token" {
sensitive = true
description = "OAuth2 access token used by the client to authenticate against the Google Cloud API"
value = data.google_client_config.default.access_token
}
output "cluster_min_master_version" {
description = "Minimum master kubernetes version"
value = module.gke.min_master_version
}
output "cluster_logging_service" {
description = "Logging service used"
value = module.gke.logging_service
}
output "cluster_monitoring_service" {
description = "Monitoring service used"
value = module.gke.monitoring_service
}
output "master_authorized_networks_config" {
description = "Networks from which access to master is permitted"
value = module.gke.master_authorized_networks_config
}
output "cluster_master_version" {
description = "Current master kubernetes version"
value = module.gke.master_version
}
output "cluster_ca_certificate" {
sensitive = true
description = "Cluster CA certificate (base64 encoded)"
value = module.gke.ca_certificate
}
output "cluster_network_policy_enabled" {
description = "Whether network policy enabled"
value = module.gke.network_policy_enabled
}
output "cluster_http_load_balancing_enabled" {
description = "Whether http load balancing enabled"
value = module.gke.http_load_balancing_enabled
}
output "cluster_horizontal_pod_autoscaling_enabled" {
description = "Whether horizontal pod autoscaling enabled"
value = module.gke.horizontal_pod_autoscaling_enabled
}
output "cluster_node_pools_names" {
description = "List of node pools names"
value = compact(module.gke.node_pools_names)
}
output "cluster_node_pools_versions" {
description = "List of node pools versions"
value = compact(module.gke.node_pools_versions)
}
output "service_account" {
description = "The service account to default running nodes as if not overridden in `node_pools`"
value = module.gke.service_account
}
output "release_channel" {
description = "The release channel of this cluster"
value = module.gke.release_channel
}
output "identity_namespace" {
description = "Workload Identity namespace"
value = module.gke.identity_namespace
}
// endregion
// region spotinst/ocean-gke
output "ocean_cluster_id" {
description = "The ID of the Ocean cluster"
value = local.ocean_cluster_id
}
output "ocean_controller_id" {
description = "The ID of the Ocean controller"
value = local.ocean_controller_id
}
// endregion