Question 450
The Terraform change owner at Parkside Technology Services seeks a verifiable outcome for: A managed resource must not proceed if the configured network prefix violates an internal invariant after variables are evaluated. Which observation best confirms that the proposed correction worked?
Explanation
Correct Answer
An invalid network value fails the precondition with the intended diagnostic before resource creation. This directly verifies the corrective action: Use a lifecycle precondition that checks the invariant before Terraform acts on the resource. The measured result specifically addresses the failure at Parkside Technology Services: A managed resource must not proceed if the configured network prefix violates an internal invariant after variables are evaluated.
Incorrect Answers
The CLI targets the expected workspace and its plan appears in the correct HCP Terraform run history. This evidence would validate a DIFFERENT correction: Set the correct organization and workspace name or supported workspace tags in the cloud integration configuration. That different correction addresses: A team mixes HCP Terraform organization and workspace identifiers when configuring Terraform's cloud block and sees it attach to the wrong run target. It does not establish that the Parkside Technology Services issue has been corrected: A managed resource must not proceed if the configured network prefix violates an internal invariant after variables are evaluated. The relevant measured outcome is: An invalid network value fails the precondition with the intended diagnostic before resource creation.
Type validation catches a shape mismatch before the input reaches provider arguments. This evidence would validate a DIFFERENT correction: Choose an appropriate homogeneous list or fixed-shape tuple type based on how the input is consumed. That different correction addresses: An engineer assumes a tuple and a list are interchangeable without considering fixed per-position element types. It does not establish that the Parkside Technology Services issue has been corrected: A managed resource must not proceed if the configured network prefix violates an internal invariant after variables are evaluated. The relevant measured outcome is: An invalid network value fails the precondition with the intended diagnostic before resource creation.
An inventory identifies installed versions and an upgraded workspace confirms the new module version in its configuration. This evidence would validate a DIFFERENT correction: Record each caller's module source and pinned version and plan deliberate upgrade waves. That different correction addresses: An organization updates a shared module but deployers cannot identify which consuming environments still use older versions. It does not establish that the Parkside Technology Services issue has been corrected: A managed resource must not proceed if the configured network prefix violates an internal invariant after variables are evaluated. The relevant measured outcome is: An invalid network value fails the precondition with the intended diagnostic before resource creation.