Question 1000
At Greenhollow Financial Systems, an authorized infrastructure engineering team manages a Terraform 1.12 and HCP Terraform environment. The team encounters the following situation: a team wants a reproducible review of adopting an existing database rather than an undocumented one-time CLI command. 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
Keep import decisions in version-controlled migration records. This control addresses import block declarative migration because configuration-driven import lets planned adoption be reviewed in the Terraform workflow. The original implementation remedy remains: Use a supported import block with target address and existing remote identifier.
Incorrect Answers
“Review resource configuration and state after every adoption” addresses a different recurring failure: Import associates existing remote objects with state rather than creating duplicates. For the condition in this question, maintain “Keep import decisions in version-controlled migration records” because configuration-driven import lets planned adoption be reviewed in the Terraform workflow.
That review protects the control associated with: State inspection confirms which remote object Terraform now tracks. It does not directly prevent the stated recurrence, which concerns: Configuration-driven import lets planned adoption be reviewed in the Terraform workflow. The appropriate guardrail is “Keep import decisions in version-controlled migration records”.
“Review trigger graphs for loops and unnecessary cross-team coupling” addresses a different recurring failure: Run triggers coordinate downstream workspace evaluations after upstream changes. For the condition in this question, maintain “Keep import decisions in version-controlled migration records” because configuration-driven import lets planned adoption be reviewed in the Terraform workflow.