Files
terraform-hcloud-talos/outputs.tf

50 lines
1.2 KiB
HCL

output "talosconfig" {
value = data.talos_client_configuration.this.talos_config
sensitive = true
}
output "kubeconfig" {
value = local.kubeconfig
sensitive = true
}
output "talos_client_configuration" {
value = data.talos_client_configuration.this
sensitive = true
}
output "talos_machine_configurations_control_plane" {
value = data.talos_machine_configuration.control_plane
sensitive = true
}
output "talos_machine_configurations_worker" {
value = data.talos_machine_configuration.worker
sensitive = true
}
output "kubeconfig_data" {
description = "Structured kubeconfig data to supply to other providers"
value = local.kubeconfig_data
sensitive = true
}
output "public_ipv4_list" {
description = "List of public IPv4 addresses of all control plane nodes"
value = local.control_plane_public_ipv4_list
}
output "hetzner_network_id" {
description = "Network ID of the network created at cluster creation"
value = hcloud_network.this.id
}
output "talos_worker_ids" {
description = "Server IDs of the hetzner talos workers machines"
value = merge(
{ for id, server in hcloud_server.workers_new : id => server.id },
{ for id, server in hcloud_server.workers : id => server.id }
)
}