The manual refresh in 01's workflow now uses proxmoxve** and tls** targets instead of proxmoxve* and tls*.
The Ansible container now sets protection: true, so Proxmox blocks deleting the container or its disk. This is separate from Pulumi's protect: true, which was already set.
Why
In a local preview-only refresh, the old targets reported no resources. The new ones matched 15. Manual runs of 01 were probably not picking up changes made in Proxmox. Past CI logs weren't checked.
The first refresh that matched resources showed the container's protection as on in Proxmox but off in Pulumi's state. A later refresh showed no differences, which means it was off in both. What turned it off is unknown. The setting wasn't in the code, so a refresh could have saved it as on and the next deploy could have turned it off. Both changes are in this PR so the code sets protection before the working refresh is used.
Checks
Typecheck passes. Local pulumi preview (without refresh) for 01-proxmox-infra: 1 to update, 26 unchanged. The only update is the Ansible container's protection (false to true). Nothing is replaced or deleted.
The latest preview-only refresh with the new targets showed 15 unchanged. PR checks don't run the manual refresh, so its first manual run will be the first test in CI.
Deploy
Merging deploys only 01-proxmox-infra, without a refresh first. Based on the latest refresh, this turns protection on in Proxmox. To delete the container or its disk later, turn protection off first.
Manual runs of 01 need more care after this. The refresh should now save real changes, and the deploy follows without a review step. It may undo changes made in Proxmox. If the refresh can't find a VM, it can remove the VM from state and the deploy could create a blank replacement. Run the same refresh with --preview-only before each manual run, and compare any changes with the code.
## What changed
- The manual refresh in 01's workflow now uses `proxmoxve**` and `tls**` targets instead of `proxmoxve*` and `tls*`.
- The Ansible container now sets `protection: true`, so Proxmox blocks deleting the container or its disk. This is separate from Pulumi's `protect: true`, which was already set.
## Why
In a local preview-only refresh, the old targets reported no resources. The new ones matched 15. Manual runs of 01 were probably not picking up changes made in Proxmox. Past CI logs weren't checked.
The first refresh that matched resources showed the container's protection as on in Proxmox but off in Pulumi's state. A later refresh showed no differences, which means it was off in both. What turned it off is unknown. The setting wasn't in the code, so a refresh could have saved it as on and the next deploy could have turned it off. Both changes are in this PR so the code sets protection before the working refresh is used.
## Checks
Typecheck passes. Local `pulumi preview` (without refresh) for `01-proxmox-infra`: 1 to update, 26 unchanged. The only update is the Ansible container's `protection` (`false` to `true`). Nothing is replaced or deleted.
The latest preview-only refresh with the new targets showed 15 unchanged. PR checks don't run the manual refresh, so its first manual run will be the first test in CI.
## Deploy
Merging deploys only `01-proxmox-infra`, without a refresh first. Based on the latest refresh, this turns protection on in Proxmox. To delete the container or its disk later, turn protection off first.
**Manual runs of 01 need more care after this.** The refresh should now save real changes, and the deploy follows without a review step. It may undo changes made in Proxmox. If the refresh can't find a VM, it can remove the VM from state and the deploy could create a blank replacement. Run the same refresh with `--preview-only` before each manual run, and compare any changes with the code.
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.
What changed
proxmoxve**andtls**targets instead ofproxmoxve*andtls*.protection: true, so Proxmox blocks deleting the container or its disk. This is separate from Pulumi'sprotect: true, which was already set.Why
In a local preview-only refresh, the old targets reported no resources. The new ones matched 15. Manual runs of 01 were probably not picking up changes made in Proxmox. Past CI logs weren't checked.
The first refresh that matched resources showed the container's protection as on in Proxmox but off in Pulumi's state. A later refresh showed no differences, which means it was off in both. What turned it off is unknown. The setting wasn't in the code, so a refresh could have saved it as on and the next deploy could have turned it off. Both changes are in this PR so the code sets protection before the working refresh is used.
Checks
Typecheck passes. Local
pulumi preview(without refresh) for01-proxmox-infra: 1 to update, 26 unchanged. The only update is the Ansible container'sprotection(falsetotrue). Nothing is replaced or deleted.The latest preview-only refresh with the new targets showed 15 unchanged. PR checks don't run the manual refresh, so its first manual run will be the first test in CI.
Deploy
Merging deploys only
01-proxmox-infra, without a refresh first. Based on the latest refresh, this turns protection on in Proxmox. To delete the container or its disk later, turn protection off first.Manual runs of 01 need more care after this. The refresh should now save real changes, and the deploy follows without a review step. It may undo changes made in Proxmox. If the refresh can't find a VM, it can remove the VM from state and the deploy could create a blank replacement. Run the same refresh with
--preview-onlybefore each manual run, and compare any changes with the code.