Добавлен код и промты.

This commit is contained in:
14 changed files with 856 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
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
]
}