You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When invoking the 'destroy' command to a running VM, it cannot be expunged as well. Which causes other issues, for example the VM's network cannot be destroyed too since it's still connected to the destroyed VM.
@vladimirpetrov I see that there is "expunge" param that we can set in terraform VM resource configuration.resource
"cloudstack_instance" "VM1" {
name = "VM1"
service_offering = "Small Instance"
template = cloudstack_template.Template.id
network_id = cloudstack_network.N1.id
zone = "${var.zoneId}" expunge = true
}
I tried this with destroy command and it expunged the VM. can you please try that as well.
When invoking the 'destroy' command to a running VM, it cannot be expunged as well. Which causes other issues, for example the VM's network cannot be destroyed too since it's still connected to the destroyed VM.
The text was updated successfully, but these errors were encountered: