-
Notifications
You must be signed in to change notification settings - Fork 4
/
outputs.tf
39 lines (38 loc) · 925 Bytes
/
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
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
# output "consul_config" {
# value = module.k8s.consul_yaml
# }
output "gke_endpoints" {
value = module.gke.*.k8s_endpoint
}
output "gke_hosts" {
value = [
local.primary_host,
local.secondary_host
]
}
output "Federation_CA_cert" {
value = var.create_federation ? nonsensitive(module.k8s.federation_secret.caCert) : "No federation configured"
}
output "consul_values_dc1" {
value = module.k8s.consul_yaml
}
output "consul_values_dc2" {
value = var.create_federation ? module.k8s-sec.0.consul_yaml : null
}
output "gs_bucket" {
value = google_storage_bucket.helm_values.name
}
# output "consul_ui" {
# value = [
# module.k8s.consul_ui,
# var.create_federation ? module.k8s-sec.0.consul_ui : null
# ]
# }
output "GKE_CA_certs" {
value = [
module.gke[*].gke_ca_certificate,
# module.gke[1].gke_ca_certificate
]
}