Talos on Proxmox with OpenTofu
Start here when provisioning or changing the current Talos VM stack on Proxmox.
Source Paths
docs/infrastructure/opentofu/index.mddocs/infrastructure/opentofu/stacks/proxmox.mdinfrastructure/opentofu/stacks/prod/proxmox/main.tfoperations/taskfiles/opentofu.ymloperations/scripts/tofu
Current State
- The stack currently manages one enabled VM:
prod-k8s-cp-01onpve1with VM ID101. - Talos is pinned to
v1.13.3. - The VM uses VLAN
40. prod-k8s-cp-02andprod-k8s-cp-03stay commented untilpve2andpve3exist.
Provisioning Flow
- Confirm
secrets/infrastructure.sops.yamlis present and decryptable. - Run
task tofu:init stack=proxmox. - Run
task tofu:validate stack=proxmox. - Run
task tofu:plan stack=proxmox. - Review the plan carefully.
- Run
task tofu:apply stack=proxmox.
Validation
- Confirm the VM exists in Proxmox with the expected VM ID.
- Confirm the Talos image version still matches
v1.13.3. - Confirm the VM is attached to VLAN
40.
Notes
- The OpenTofu wrapper injects the state encryption passphrase from SOPS at runtime.
- Keep the stack changes small so VM lifecycle changes stay easy to review.
