A stale Pulumi state can plan new VMs for machines that already exist. With protect: true, Pulumi fails instead of deleting or replacing a k3s VM.
What changes
All six k3s VMs get protect: true. In-place updates such as CPU, RAM and SSH keys still work. To replace a VM on purpose, run pulumi state unprotect <urn> first.
This changes nothing on the VMs. 01-proxmox-infra only deploys through manual dispatch, so merging does not start a deploy. The protection takes effect after the next pulumi up that includes the VMs.
Verification
npm run typecheck passes. A preview targeting the six VMs shows them locked with 27 unchanged. That local run also included uncommitted Ansible code, so the PR preview is the check for this commit alone.
## Why
A stale Pulumi state can plan new VMs for machines that already exist. With `protect: true`, Pulumi fails instead of deleting or replacing a k3s VM.
## What changes
All six k3s VMs get `protect: true`. In-place updates such as CPU, RAM and SSH keys still work. To replace a VM on purpose, run `pulumi state unprotect <urn>` first.
This changes nothing on the VMs. `01-proxmox-infra` only deploys through manual dispatch, so merging does not start a deploy. The protection takes effect after the next `pulumi up` that includes the VMs.
## Verification
`npm run typecheck` passes. A preview targeting the six VMs shows them locked with 27 unchanged. That local run also included uncommitted Ansible code, so the PR preview is the check for this commit alone.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why
A stale Pulumi state can plan new VMs for machines that already exist. With
protect: true, Pulumi fails instead of deleting or replacing a k3s VM.What changes
All six k3s VMs get
protect: true. In-place updates such as CPU, RAM and SSH keys still work. To replace a VM on purpose, runpulumi state unprotect <urn>first.This changes nothing on the VMs.
01-proxmox-infraonly deploys through manual dispatch, so merging does not start a deploy. The protection takes effect after the nextpulumi upthat includes the VMs.Verification
npm run typecheckpasses. A preview targeting the six VMs shows them locked with 27 unchanged. That local run also included uncommitted Ansible code, so the PR preview is the check for this commit alone.