Question 690
A product manager asks whether terraform destroy can remove unrelated resources never tracked in the selected state. Which failure mode would most clearly show that this specific requirement remains unmet?
Explanation
Correct Answer
Terraform destroy operates on managed resources recorded for the current state. Restrict destroy to the selected state's Terraform-managed resource set and inspect the plan.
Incorrect Answers
Terraform exposes plan data for automated inspection without applying it. Only tracked resources appear in the destroy plan for that workspace.
Execution authorization can be enforced independently from plan generation. Terraform destroy operates on managed resources recorded for the current state.
Validate checks configuration validity; planning evaluates desired state against known infrastructure. Only tracked resources appear in the destroy plan for that workspace.