Complete the code to run the Terraform command that destroys all managed infrastructure.
terraform [1]The terraform destroy command removes all resources created by Terraform, cleaning up your infrastructure.
Complete the command to destroy infrastructure without asking for confirmation.
terraform destroy [1]The -auto-approve flag skips the confirmation prompt and immediately destroys the resources.
Fix the error in the command to destroy resources in a specific workspace.
terraform workspace select [1] && terraform destroy -auto-approveTo destroy resources in the 'dev' workspace, you must select it first using terraform workspace select dev.
Fill both blanks to destroy resources using a specific Terraform state file and skip confirmation.
terraform [1] -state=[2] -auto-approve
Use terraform destroy to remove resources and specify the state file with -state=prod.tfstate to target the correct infrastructure.
Fill all three blanks to destroy resources with a plan file and skip confirmation.
terraform [1] [2] [3]
Use terraform apply destroy.plan to destroy resources using the plan file (generated from terraform plan -destroy -out=destroy.plan) and skip confirmation with -auto-approve.