chore(opentofu): drop the spent removed block for module.k8s_3 #624

Merged
k.renner merged 1 commits from tofu-state-verify into master 2026-08-26 06:09:10 +00:00
-27
View File
@@ -1,27 +0,0 @@
# k8s-3 was the last Proxmox VM. neptune now runs Talos on bare metal, and its
# disks were wiped during the conversion, so the VM this module described does
# not exist in any form.
#
# `removed` rather than simply deleting vm_152_k8s_3.tf: dropping the resource
# from configuration alone makes OpenTofu plan a DESTROY, and planning a destroy
# refreshes the resource through the bpg/proxmox provider — which now has no
# endpoint to reach. That is exactly what has been failing every infrastructure
# plan since the conversion:
#
# Error: failed to get resources list of type ("vm") for cluster:
# dial tcp 10.2.40.201:8006: connect: no route to host
# with module.k8s_3.proxmox_virtual_environment_vm.this
#
# `lifecycle { destroy = false }` forgets the state entry without attempting to
# contact Proxmox. Nothing is orphaned by doing so: the guest, its disks and the
# hypervisor underneath it are all already gone.
#
# This block can be deleted once one plan has run cleanly with it — it is a
# one-shot instruction, not standing configuration.
removed {
from = module.k8s_3
lifecycle {
destroy = false
}
}