Question 360
After corrective work at Northgate IT Platforms, a reviewer requests measurable proof for: An engineer treats an input variable as mutable run-time state and expects a resource to rewrite the variable during apply. Which controlled check would validate the remediation?
Explanation
Correct Answer
The plan uses the supplied variable value while computed resource IDs appear only in resource attributes or outputs. This directly verifies the corrective action: Keep variables as supplied configuration inputs and use resource attributes or outputs for computed results. The measured result specifically addresses the failure at Northgate IT Platforms: An engineer treats an input variable as mutable run-time state and expects a resource to rewrite the variable during apply.
Incorrect Answers
The imported object has matching managed configuration and no unexplained destructive plan is produced. This evidence would validate a DIFFERENT correction: Declare or generate suitable resource configuration using the supported import workflow, then review required attributes. That different correction addresses: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. It does not establish that the Northgate IT Platforms issue has been corrected: An engineer treats an input variable as mutable run-time state and expects a resource to rewrite the variable during apply. The relevant measured outcome is: The plan uses the supplied variable value while computed resource IDs appear only in resource attributes or outputs.
The root plan resolves the documented output without reaching into a child module's internal resource names. This evidence would validate a DIFFERENT correction: Expose the required value as a child-module output and reference module.<name>.<output> in the caller. That different correction addresses: A module output is accessed using a resource address from inside the module's private implementation, breaking encapsulation. It does not establish that the Northgate IT Platforms issue has been corrected: An engineer treats an input variable as mutable run-time state and expects a resource to rewrite the variable during apply. The relevant measured outcome is: The plan uses the supplied variable value while computed resource IDs appear only in resource attributes or outputs.
The application resources depend on the newly produced network output and plan with the correct VPC ID. This evidence would validate a DIFFERENT correction: Consume the networking module's output from the app module input rather than hardcoding a remote ID. That different correction addresses: A root module needs a VPC ID created by a networking module but copies an ID from another workspace. It does not establish that the Northgate IT Platforms issue has been corrected: An engineer treats an input variable as mutable run-time state and expects a resource to rewrite the variable during apply. The relevant measured outcome is: The plan uses the supplied variable value while computed resource IDs appear only in resource attributes or outputs.