Terraform

How to cleanup Terraform resources? Why the user should be careful doing so?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

terraform destroy will cleanup all the resources tracked by Terraform.

A user should be careful with this command because there is no way to revert it. Sure, you can always run again "apply" but that can take time, generates completely new resources, etc.