terraform destroy
with enabled protection mode causes VM to shutdown
#1043
Labels
issue/not-a-bug
The reported issue is the intended behavior or the problem is not inside this project
resource/qemu
Issue or PR related to Qemu resource
System details:
As per documentation:
Setting this value to
true
and runningterraform destroy
gives the following result:Everything looks fine, but this action causes VM to shutdown.
I expected that in protection mode VM state would remain untouched, for example, keeps running.
The second thing, is
protection
argument redundant? (resolved, not redundant, answer #1043 (comment))Cause that protection from destroy can be achieved using Terraform built-in lifecycle meta-argument, for example:
In this case gives such result:
The text was updated successfully, but these errors were encountered: