Fixing destroy keyword

This commit is contained in:
vandomej 2025-10-03 11:00:13 -07:00
parent bacaa27c0b
commit 0c2d45ccbc

View file

@ -110,7 +110,7 @@ resource "null_resource" "control_plane_node_1" {
} }
provisioner "local-exec" { provisioner "local-exec" {
when = destroyed when = destroy
command = <<EOT command = <<EOT
sudo rm -f /var/lib/libvirt/qemu/nvram/${self.triggers.cluster_name}_VARS.qcow2 sudo rm -f /var/lib/libvirt/qemu/nvram/${self.triggers.cluster_name}_VARS.qcow2