terraform-provider-linuxbox icon indicating copy to clipboard operation
terraform-provider-linuxbox copied to clipboard

Handle deleted VM scenario

Open zimbatm opened this issue 5 years ago • 0 comments

When a VM is deleted, all the associated linuxbox resources should be automatically deleted as well. Unfortunately, Terraform is not able to make the distinction properly. This leads to issues when running terraform apply.

One proposed solution is to:

  • check call would assume unchanged if it can’t reach instance (perhaps logging a warning)
  • destroy would succeed
  • apply would fail

zimbatm avatar Jul 24 '20 10:07 zimbatm