output "vm_names" { description = "Created VM names" value = [for vm in proxmox_virtual_environment_vm.ubuntu_vm : vm.name] } output "vm_ids" { description = "Created VM IDs" value = [for vm in proxmox_virtual_environment_vm.ubuntu_vm : vm.vm_id] } output "vm_nodes" { description = "PVE nodes hosting each VM" value = { for k, vm in proxmox_virtual_environment_vm.ubuntu_vm : k => vm.node_name } } output "vm_ipv4" { description = "Static IPv4 addresses" value = { for k, vm in proxmox_virtual_environment_vm.ubuntu_vm : k => vm.initialization[0].ip_config[0].ipv4[0].address } }