Skip to content

feat(proxmox): allow different templates for proxmox provider

Tom Scanlan requested to merge tom-proxmox-clustering into v4

When using version 2.9 of the proxmox provider, work happens in proxmox to create the VM... it may even boot. But I get a panic in the provider that kills the workflow.

Stack trace from the terraform-provider-proxmox_v2.9.14 plugin:
panic: interface conversion: interface {} is string, not float64

Updating the the latest provider fixes the error for me, but requires changes to the terraform template. If you set "proxmox/provider-version" == "=3.0.1-rc1", you'll get the new template.

We're testing semversion currently to select between 2 versions of the TF template, one at v2.9.0 and the other at 3.0.1-rc1, demarcated by v "3.0.0-0"

Edited by Tom Scanlan

Merge request reports

Loading