Question 270
The reliability team at Crescent Infrastructure Team is closing an incident described as follows: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. Which observation best confirms that the proposed correction worked?
Explanation
Correct Answer
The incorrect environment is detected before any deletion and only the intended sandbox is targeted. This directly verifies the corrective action: Verify workspace, backend, targets, and identities and require a destructive-change approval gate before destroy. The measured result specifically addresses the failure at Crescent Infrastructure Team: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network.
Incorrect Answers
The plan can still resolve the provider configuration needed to refresh or remove previously managed objects. This evidence would validate a DIFFERENT correction: Keep resource-to-provider associations valid while migrating configuration and review state before deleting old provider settings. That different correction addresses: An engineer changes a provider configuration after creation and expects Terraform state to lose all record of the managed resources. It does not establish that the Crescent Infrastructure Team issue has been corrected: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. The relevant measured outcome is: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.
The formatting check reports no pending differences after the files have been normalized. This evidence would validate a DIFFERENT correction: Run terraform fmt and commit the canonical formatting changes before the next review. That different correction addresses: A team shares configuration files with inconsistent indentation, making changes difficult to review. It does not establish that the Crescent Infrastructure Team issue has been corrected: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. The relevant measured outcome is: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.
terraform validate accepts an appropriately typed input and rejects the incompatible fixture. This evidence would validate a DIFFERENT correction: Align the passed value with the child module's declared input type or update the module contract explicitly. That different correction addresses: A caller supplies a variable with the right name but the child module declares a different type and rejects the value. It does not establish that the Crescent Infrastructure Team issue has been corrected: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. The relevant measured outcome is: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.