diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-02-18 21:03:00 +0100 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-02-18 21:03:00 +0100 |
commit | 1e1a8a1f3f4a8586072d3e31d2bef9c27786d448 (patch) | |
tree | 95b1618e62c971265f1df55131e1a784d2e3d873 /opentofu/outputs.tf | |
parent | 8af7efa1e03c1d37cf34197249e487348d382d82 (diff) |
Also changes the id of the packer images,
now starting at the "end" (999), while VMs start at 100
Diffstat (limited to 'opentofu/outputs.tf')
-rw-r--r-- | opentofu/outputs.tf | 6 |
1 files changed, 2 insertions, 4 deletions
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]) } } |