Question 360
At Larkhill Financial Systems, an authorized infrastructure engineering team manages a Terraform 1.12 and HCP Terraform environment. The team encounters the following situation: an operator attempts a normal terraform apply in a terminal but is unsure why it requests confirmation. Choose the technically best Terraform Associate 004 practice response to this particular infrastructure case. Which operational control addresses the risk long term?
Explanation
Correct Answer
Require human approval for interactive production applies. This control addresses interactive apply confirmation because terraform normally asks for confirmation before applying an interactively generated plan. The original implementation remedy remains: Review the presented plan and explicitly approve the prompted actions.
Incorrect Answers
“Use state-aware recovery rather than blindly replaying imperative creates” addresses a different recurring failure: An apply can partially succeed and state may already track successfully created objects. For the condition in this question, maintain “Require human approval for interactive production applies” because terraform normally asks for confirmation before applying an interactively generated plan.
That review protects the control associated with: Terraform requires configuration and initialized dependencies before meaningful managed changes can be planned. It does not directly prevent the stated recurrence, which concerns: Terraform normally asks for confirmation before applying an interactively generated plan. The appropriate guardrail is “Require human approval for interactive production applies”.
This safeguard is for the dependency described by: For expressions transform collections into new values without external preprocessing. The continuing risk here is determined by: Terraform normally asks for confirmation before applying an interactively generated plan. The targeted safeguard is “Require human approval for interactive production applies”.