3 ms·
Terraform does let you destroy resources: https://www.terraform.io/docs/commands/destroy.html https://www.terraform.io/docs/commands/destroy.html
by aratno 6y ago
Terraform does let you destroy resources: https://www.terraform.io/docs/commands/destroy.html https://www.terraform.io/docs/commands/destroy.html
- sushicalculus 6y agoYes, 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
- kawsper 6y agoI 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 https://github.com/hashicorp/terraform/issues/23679