Question 330
At Kestrelview Health Research, an authorized infrastructure engineering team manages a Terraform 1.12 and HCP Terraform environment. The team encounters the following situation: an engineer stores a saved binary Terraform plan in a publicly accessible build artifact repository. Choose the technically best Terraform Associate 004 practice response to this particular infrastructure case. What mechanism explains why the original approach fails?
Explanation
Correct Answer
Saved Terraform plans can contain configuration and sensitive inputs even when terminal display redacts them. That mechanism distinguishes machine-readable plan artifact safety in the Kestrelview Health Research case. The corresponding appropriate correction is: Restrict access to saved plan files and avoid exposing sensitive embedded values. The measurable acceptance test is: Authorized reviewers access the plan while unauthenticated download attempts fail.
Incorrect Answers
The offered principle describes: Providers can require destroy-and-recreate when a resource attribute cannot be changed in place. The situation in this question instead depends on: Saved Terraform plans can contain configuration and sensitive inputs even when terminal display redacts them. These are different technical conditions.
This alternative is valid when formatting only addresses syntax layout and does not verify provider APIs or remote behavior. The facts here establish a different controlling reason: Saved Terraform plans can contain configuration and sensitive inputs even when terminal display redacts them.
The offered principle describes: The default local backend stores state on disk rather than offering shared persistent team storage. The situation in this question instead depends on: Saved Terraform plans can contain configuration and sensitive inputs even when terminal display redacts them. These are different technical conditions.