Files
iac-talos-cluster/nodes-ready.tf
roeldev 14e37ad283 Fix #1
- use bpg/proxmox instead of TheGameProfi/proxmox (or telmate/proxmox)
- add macaddress provider
- rename var talos_worker_nodes to worker_nodes
- split var talos_iso_image_location into talos_iso_destination_filename and talos_iso_destination_storage_pool
2024-05-14 19:33:28 +02:00

14 lines
398 B
HCL

# use kubectl to poll the readiness status of the nodes
data "external" "talos-nodes-ready" {
depends_on = [null_resource.talos-cluster-up]
program = concat([
"go",
"run",
"${path.module}/cmd/nodes-ready",
],
[for i, cfg in proxmox_virtual_environment_vm.talos-control-plane : cfg.name],
[for i, cfg in proxmox_virtual_environment_vm.talos-worker-node : cfg.name],
)
}