resource "proxmox_vm_qemu" "vm1" { name = "terraform-vm" target_node = "nuctyzyzen7-1" clone = "ubuntu-2404-template" full_clone = true cpu { cores = 2 sockets = 1 } memory = 2048 disk { slot = "scsi0" size = "20G" type = "disk" storage = "zfs1" } network { id = 0 model = "virtio" bridge = "vmbr0" } os_type = "cloud-init" ipconfig0 = "ip=dhcp" ciuser = "ubuntu" sshkeys = var.ssh_public_key agent = 1 scsihw = "virtio-scsi-pci" machine = "q35" }