terraform-destroy
Destroy all objects managed by a Terraform configuration. tldr-pages
On several platforms
Several platforms
Destroy all infrastructure in the current directory
terraform destroyIdentifyDestroy infrastructure, skipping interactive approval
terraform destroy -auto-approveIdentifyDestroy a specific resource
terraform destroy -target resource_type.resource_name[instance_index]IdentifySpecify values for input variables
terraform destroy -var 'name1=value1' -var 'name2=value2'IdentifySpecify values for input variables from a file
terraform destroy -var-file path/to/file.tfvarsIdentifyDestroy infrastructure with compact warnings
terraform destroy -compact-warningsIdentify