Question 510
The reliability team at Orchard Enterprise Platforms is closing an incident described as follows: A caller supplies a variable with the right name but the child module declares a different type and rejects the value. Which observation best confirms that the proposed correction worked?
Explanation
Correct Answer
terraform validate accepts an appropriately typed input and rejects the incompatible fixture. This directly verifies the corrective action: Align the passed value with the child module's declared input type or update the module contract explicitly. The measured result specifically addresses the failure at Orchard Enterprise Platforms: A caller supplies a variable with the right name but the child module declares a different type and rejects the value.
Incorrect Answers
terraform init configures the backend and later plans load state from the intended remote location. This evidence would validate a DIFFERENT correction: Declare the supported backend configuration in the terraform block and initialize the backend separately from providers. That different correction addresses: A team wants to store state in a remote service but mistakenly places the backend configuration inside an ordinary provider resource block. It does not establish that the Orchard Enterprise Platforms issue has been corrected: A caller supplies a variable with the right name but the child module declares a different type and rejects the value. The relevant measured outcome is: terraform validate accepts an appropriately typed input and rejects the incompatible fixture.
Access tests show each team can act only on its authorized workspaces. This evidence would validate a DIFFERENT correction: Use HCP Terraform teams and scoped workspace or project permissions under least privilege. That different correction addresses: Several product teams share one HCP Terraform organization, but an administrator grants every team full organization-level access. It does not establish that the Orchard Enterprise Platforms issue has been corrected: A caller supplies a variable with the right name but the child module declares a different type and rejects the value. The relevant measured outcome is: terraform validate accepts an appropriately typed input and rejects the incompatible fixture.
The resulting configuration remains readable and a simple resource change can be reviewed without excessive module hopping. This evidence would validate a DIFFERENT correction: Use modules for meaningful reusable abstractions rather than creating needless one-resource layers. That different correction addresses: A team converts every single resource into a separate module and finds simple changes require many nested interfaces. It does not establish that the Orchard Enterprise Platforms issue has been corrected: A caller supplies a variable with the right name but the child module declares a different type and rejects the value. The relevant measured outcome is: terraform validate accepts an appropriately typed input and rejects the incompatible fixture.