Examples (6)
Destroy all infrastructure in the current directory
Destroy infrastructure, skipping interactive approval
terraform destroy -auto-approveDestroy a specific resource
terraform destroy -target resource_type.resource_name[instance_index]Specify values for input variables
terraform destroy -var 'name1=value1' -var 'name2=value2'Specify values for input variables from a file
terraform destroy -var-file path/to/file.tfvarsDestroy infrastructure with compact warnings
terraform destroy -compact-warningsmade by @shridhargupta | data from tldr-pages