Terraform fails to destroy a server after a worker node is removed
The scale-workers phase deletes the node from Kubernetes, but Terraform cannot destroy the server, so the server keeps running without a node.
The scale-workers phase stops with an error that states that the nodes were removed from Kubernetes but Terraform could not destroy their servers.
The destroy operation failed after the phase drained the node and deleted it from Kubernetes. The failure comes from Terraform, for example, from the cloud API or the credentials.
Resolution
Read the Terraform error, and fix the cause. Run the scale-workers phase again with the same INFRA_WORKER_COUNT to retry the destroy. The retry works because the phase updates nodes.json last, and it accepts a recorded worker that is already gone from Kubernetes.
