# ─── Node Outputs ──────────────────────────────────────────────────────────── # Consumed by the cluster root module to wire up DHCP reservations and # DNS records without hardcoding MAC addresses. output "vm_id" { description = "Proxmox VM ID." value = proxmox_virtual_environment_vm.node.vm_id } output "mac_address" { description = "MAC address of the primary network interface. Used to create the Unifi DHCP reservation." value = proxmox_virtual_environment_vm.node.network_device[0].mac_address } output "hostname" { description = "Node hostname. Passed through for convenience when building DNS records." value = proxmox_virtual_environment_vm.node.name }