terraform-destroy
Verified for current stable LTS
Terraform Destroy Command: Specify Input Variables
Use for specify input variables with Terraform Destroy. Exact CLI syntax to specify input variables using Terraform Destroy.
When to use this: Use for specify input variables with Terraform Destroy.
Command Syntax
terraform destroy -var '<name1>=<value1>' -var '<name2>=<value2>' terraform destroy -var '<name1>=<value1>' -var '<name2>=<value2>' Command Breakdown
-var- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to specify input variables using Terraform Destroy.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Terraform Destroy Command: Destroy All Infrastructure Current Directory
terraform destroy Terraform Destroy Command: Destroy Infrastructure Compact Warnings terraform destroy -compact-warnings Terraform Destroy Command: Destroy Infrastructure Skip Interactive Approval terraform destroy -auto-approve Terraform Destroy Command: Destroy Specific Resource terraform destroy -target <resource_type.resource_name[instance_index]> Terraform Destroy Command: Specify Input Variables From File terraform destroy -var-file <path/to/file.tfvars>