Open irishgordo opened 8 months ago
I encountered this before (https://github.com/harvester/harvester/issues/5573), there is an option called auto_delete
, add this to the disk config and the volumes should be erased after execute terraform destroy -auto-approve
disk {
name = "test-disk"
size = "10Gi"
image = "ubuntu"
auto_delete = true
}
Describe the bug sometimes a disk isn't erased with terraform destroy -auto-approve when one or more are associate with a vm
To Reproduce Steps to reproduce the behavior:
Expected behavior disks to be cleaned up and terraform to not error out
Environment
Workaround