proxmox

400 parameter validation failed for Terraform with Proxmox

The main terraform provider for proxmox is not very polished. It works, but doesn’t appear to perform any validation of your inputs, and also does a terrible job of communicating errors thrown by proxmox. Consequently, any time you make a mistake in your resource, you’re likely to see an extremely unhelpful message that says: 400 Parameter Validation failed When this happens, add pm_debug = true to your provider configuration: provider "proxmox" { .

Broken pipe when building image on Proxmox using Packer

While attempting to build an Ubuntu 22.04 image using Packer, with the build running on a Proxmox VM, I got the following error: ==> proxmox.ubuntu_k3s: Post "https://<ip>/api2/json/nodes/proxmox/storage/local/upload": write tcp <local ip>-><ip>: write: broken pipe ==> proxmox.ubuntu_k3s: delete volume failed: 501 Method 'DELETE /nodes/proxmox/storage/local/content/' not implemented Build 'proxmox.ubuntu_k3s' errored after 20 milliseconds 690 microseconds: 501 Method 'DELETE /nodes/proxmox/storage/local/content/' not implemented After a few searches, I found an open issue on GitHub pointing to permissions being lacking for the user configured for Packer.