From 1e1a8a1f3f4a8586072d3e31d2bef9c27786d448 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Tue, 18 Feb 2025 21:03:00 +0100 Subject: Replace proxmox provider telmate by bpg + remove k8s cluster (talos on the way) Also changes the id of the packer images, now starting at the "end" (999), while VMs start at 100 --- opentofu/outputs.tf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'opentofu/outputs.tf') diff --git a/opentofu/outputs.tf b/opentofu/outputs.tf index f0c8b7a..09a05d8 100644 --- a/opentofu/outputs.tf +++ b/opentofu/outputs.tf @@ -1,12 +1,10 @@ locals { all_vms = flatten([ - [module.k8s_control_plane.vm], - module.k8s_worker.vms, - [proxmox_vm_qemu.docker_server], + [proxmox_virtual_environment_vm.docker_server], ]) } output "vm_ips" { description = "Mapping of VM names to their IP addresses" - value = { for vm in local.all_vms : vm.name => vm.default_ipv4_address if can(vm.default_ipv4_address) } + value = { for vm in local.all_vms : vm.name => vm.ipv4_addresses[1][0] if can(vm.ipv4_addresses[1][0]) } } -- cgit v1.2.3