mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-25 19:59:34 +01:00
c0347ca0c6
* Mark `kubeconfig` and `asset_dist` as `sensitive` to prevent the Terraform CLI displaying these values, esp. for CI systems * In particular, external tools or tfvars style uses (not recommended) reportedly display all outputs and are improved by setting sensitive * For Terraform v0.14, outputs referencing sensitive fields must also be annotated as sensitive Closes https://github.com/poseidon/typhoon/issues/884
54 lines
1.2 KiB
HCL
54 lines
1.2 KiB
HCL
output "kubeconfig-admin" {
|
|
value = module.bootstrap.kubeconfig-admin
|
|
sensitive = true
|
|
}
|
|
|
|
# Outputs for Kubernetes Ingress
|
|
|
|
output "ingress_static_ipv4" {
|
|
description = "Global IPv4 address for proxy load balancing to the nearest Ingress controller"
|
|
value = google_compute_global_address.ingress-ipv4.address
|
|
}
|
|
|
|
output "ingress_static_ipv6" {
|
|
description = "Global IPv6 address for proxy load balancing to the nearest Ingress controller"
|
|
value = google_compute_global_address.ingress-ipv6.address
|
|
}
|
|
|
|
# Outputs for worker pools
|
|
|
|
output "network_name" {
|
|
value = google_compute_network.network.name
|
|
}
|
|
|
|
output "kubeconfig" {
|
|
value = module.bootstrap.kubeconfig-kubelet
|
|
sensitive = true
|
|
}
|
|
|
|
# Outputs for custom firewalling
|
|
|
|
output "network_self_link" {
|
|
value = google_compute_network.network.self_link
|
|
}
|
|
|
|
# Outputs for custom load balancing
|
|
|
|
output "worker_instance_group" {
|
|
description = "Worker managed instance group full URL"
|
|
value = module.workers.instance_group
|
|
}
|
|
|
|
output "worker_target_pool" {
|
|
description = "Worker target pool self link"
|
|
value = module.workers.target_pool
|
|
}
|
|
|
|
# Outputs for debug
|
|
|
|
output "assets_dist" {
|
|
value = module.bootstrap.assets_dist
|
|
sensitive = true
|
|
}
|
|
|