Deployment, Provisioning, and Automation

A team requires approval of the exact Terraform changes that its pipeline will execute. Which approach lets reviewers inspect the proposed actions and ensures the deployment uses the approved plan?

Show the answer

Correct answerD. Save a plan file, review it, then apply that file

AWhy not this: A newly generated plan can differ from the actions reviewers expected when they inspected the configuration.

BWhy not this: State records managed resources but does not show the proposed changes needed to reach the desired configuration.

CWhy not this: A refresh-only plan updates state and outputs to reflect remote changes; it does not deploy configuration changes.

DWhy this is right: Applying the reviewed saved plan binds deployment to its proposed actions; Terraform rejects it if the state has become stale.

A saved Terraform plan can be inspected and then supplied to apply, preserving the reviewed set of actions. Reviewing configuration and generating a new plan at deployment time does not bind execution to the previously reviewed actions.