add node_name lookup for the clone

This commit is contained in:
Vezpi 2025-03-22 21:32:52 +00:00
parent 8e980d859c
commit fd2cd3441b

View File

@ -43,6 +43,7 @@ resource "proxmox_virtual_environment_vm" "vm" {
stop_on_destroy = true
clone {
vm_id = data.proxmox_virtual_environment_vms.template.vms[0].vm_id
node_name = data.proxmox_virtual_environment_vms.template.vms[0].node_name
}
bios = var.vm_bios
machine = var.vm_machine