Hacker News new | ask | show | jobs
by aratno 2078 days ago
Terraform does let you destroy resources: https://www.terraform.io/docs/commands/destroy.html
2 comments

I wish Terraform still allowed destroy-time provisioners to access variables, it seems that it went away due to some refactoring, and it isn't coming back.

https://github.com/hashicorp/terraform/issues/23679

Yes, I know. I meant for some resources (the code for creating was added, but not for destroying those resources). I had to write a custom provider to temporarily fix it