A colleague proposes to change a production networking rule by editing the Terraform configuration, opening a pull request, and having a teammate approve the diff before it is applied. A manager asks what benefit this workflow adds compared with logging into the console and changing the rule directly. What is the best answer?
- AIt guarantees that the change can never cause an outage once the pull request is merged.
- BIt removes the need to store any state, because pull requests replace Terraform state entirely.
- CIt lets the proposed infrastructure change be reviewed and discussed as a code diff before it is applied. Correct
- DIt allows the change to be applied without running terraform plan or terraform apply at all.
Why A is wrong: Review reduces mistakes but cannot guarantee zero outages, since an approved change can still be flawed, so this overstates the benefit.
Why B is wrong: Pull requests review the configuration but do not replace state; Terraform still tracks real resources in state, so this is incorrect.
Why C is correct: Expressing infrastructure as code means changes appear as reviewable diffs, so peers can inspect and approve them before they reach production, which is the core advantage over ad hoc console edits.
Why D is wrong: The change must still be applied through Terraform to take effect; review does not bypass plan and apply, so this misdescribes the workflow.