38 lines
957 B
HCL
38 lines
957 B
HCL
output "talosconfig" {
|
|
description = "Talos configuration for cluster access"
|
|
value = data.talos_client_configuration.this.talos_config
|
|
sensitive = true
|
|
}
|
|
|
|
output "kubeconfig" {
|
|
description = "Kubernetes configuration for cluster access"
|
|
value = talos_cluster_kubeconfig.this.kubeconfig_raw
|
|
sensitive = true
|
|
}
|
|
|
|
output "controlplane_ips" {
|
|
description = "Control plane node IPs"
|
|
value = local.controlplane_ips
|
|
}
|
|
|
|
output "worker_ips" {
|
|
description = "Worker node IPs"
|
|
value = local.worker_ips
|
|
}
|
|
|
|
output "controlplane_vm_ids" {
|
|
description = "Proxmox VM IDs for control plane nodes"
|
|
value = proxmox_virtual_environment_vm.controlplane[*].vm_id
|
|
}
|
|
|
|
output "worker_vm_ids" {
|
|
description = "Proxmox VM IDs for worker nodes"
|
|
value = proxmox_virtual_environment_vm.worker[*].vm_id
|
|
}
|
|
|
|
output "cluster_endpoint" {
|
|
description = "Kubernetes cluster endpoint"
|
|
value = var.cluster_endpoint
|
|
}
|
|
|