I am trying to create a VM in proxmox with pxe=true option. Followed the proxmox provider documentation pxe example but provider complains about cloud-init when I try applying the config.
Below is my resource definition
resource "proxmox_vm_qemu" "testvm1" {
name = "auto1"
agent = 0
boot = "order=net0;scsi0"
onboot = true
oncreate = false
memory = 2048
cores = 2
pxe = true
target_node = "test1"
network {
bridge = "vmbr0"
firewall = false
link_down = false
model = "virtio"
}
}
proxmox_vm_qemu.testvm1: Creating...
╷
│ Error: cloud-init parameters only supported on clones or updates
│
│ with proxmox_vm_qemu.testvm1,
│ on main.tf line 60, in resource "proxmox_vm_qemu" "testvm1":
│ 60: resource "proxmox_vm_qemu" "testvm1" {
│
╵