terraform-provider-linuxbox
                                
                                 terraform-provider-linuxbox copied to clipboard
                                
                                    terraform-provider-linuxbox copied to clipboard
                            
                            
                            
                        Handle deleted VM scenario
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