Files
ilkerandClaude Opus 5.5 3be70e9b63 provision: a cluster contract that names no backend
TFVars wrote vmid_base and hostpci, which only the Proxmox environment
understands. A second backend would have had to declare and ignore them.

The variables the runner writes are now listed in provision.Contract and
say what the cluster is, not how Proxmox builds it: devices replaces
hostpci, and the Proxmox environment derives vmid_base from cluster_id
itself (still overridable, which `hpcod provision -vmid-base` now does).

A test holds every terraform/envs/*/variables.tf to the contract and
TFVars to nothing outside it.

Checked by planning the Proxmox environment offline for the same cluster
before and after: the planned resources and outputs are byte-identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:02:59 +01:00
..