New options are available in the proxmox provider plugin so:
- Add vmid as defined in proxmox today (so it won't try and generate one for some reason)
- Had to inline the "module node" call for the storage0 node (which has more than 1 disk). It's now inlined like the gateway (which has more than 1 network declaration). So it's a bit repetitive but it's declared appropriately.
- Separate staging from production to avoid touching the production node (for now)
- As a poor man configuration shared management, i added the staging terraform.tfstate within the repository... (no sensible information in there)
- Do not fallback to default values. So some properties are not set for everyone (e.g. hypervisor, bridge, etc...). They must be declared for each node.
Now the terraform plan for staging sounds reasonable.
I modified some production nodes according to their current configuration but stopped as it's a subject for another time.
(Shout out if i need to remove those but this sounds like lost time to do so, might as well keep it since it's done)