Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle deleted VM scenario #10

Open
zimbatm opened this issue Jul 24, 2020 · 0 comments
Open

Handle deleted VM scenario #10

zimbatm opened this issue Jul 24, 2020 · 0 comments

Comments

@zimbatm
Copy link
Member

zimbatm commented Jul 24, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant