Hi there. I have installed Proxmox VE as I would like to be able to spin up VM's using Terraform. I am using the Proxmox provider with Terraform, but when attempting to provision, I see the following error:
Now I realise that this is not a support forum for Terraform, but the strange thing is that this VM does exist on my Proxmox server, so I'm not sure why this error is happening.
So the VM is there... I don't understand why I am being told it does not exist. Does anyone else use Terraform Proxmox provider to provision VM's who knows what could be wrong here. Thanks very much.
Code:
proxmox_vm_qemu.testNode[0]: Creating...
╷
│ Error: vm 'VM 500' not found
│
│ with proxmox_vm_qemu.testNode[0],
│ on main.tf line 1, in resource "proxmox_vm_qemu" "testNode":
│ 1: resource "proxmox_vm_qemu" "testNode" {
│
Now I realise that this is not a support forum for Terraform, but the strange thing is that this VM does exist on my Proxmox server, so I'm not sure why this error is happening.
Code:
root@solomon:~# qm list
VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
101 cloudtest stopped 2048 32.00 0
500 VM 500 stopped 256 10.00 0
So the VM is there... I don't understand why I am being told it does not exist. Does anyone else use Terraform Proxmox provider to provision VM's who knows what could be wrong here. Thanks very much.