Files

25 lines
571 B
HCL

output "kubeconfig_path" {
description = "Path to the kubeconfig file"
value = var.kubeconfig_path
}
output "server_ip" {
description = "IP address of the K3s server node"
value = var.server_ip
}
output "worker_ips" {
description = "IP addresses of the K3s worker nodes"
value = var.worker_ips
}
output "cluster_ready" {
description = "Indicator that the cluster is ready to use"
value = "true"
depends_on = [
null_resource.install_k3s_server,
null_resource.get_k3s_config,
null_resource.install_k3s_worker
]
}