Skip to content
masterclass Buddy

DevOps · Command

terraform destroy

terraform destroy removes all infrastructure managed by the current Terraform configuration. It is mainly useful for cleaning up temporary environments.

Last updated

Since
0.15.2 for the -destroy option to terraform apply

Syntax

terraform destroy [options]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • terraform apply -destroy
  • terraform plan -destroy
  • -target
  • terraform validate
  • removed block
  • destroy-time provisioner

Source: terraform destroy command reference | Terraform | HashiCorp Developer. Checked 2026-11-03.