Which sequence describes the core Terraform workflow that a practitioner follows when managing infrastructure with configuration files?
- AWrite, then plan, then apply the configuration Correct
- BPlan, then write, then apply the resulting configuration
- CApply, then plan, then write the configuration afterwards
- DWrite, then apply, then plan the configuration afterwards
Why A is correct: The core loop is write the configuration, review a plan of the proposed changes, then apply those changes, which matches Terraform's documented workflow.
Why B is wrong: This is tempting because planning does happen before apply, but you cannot generate a plan before any configuration has been written, so write must come first.
Why C is wrong: This reverses the workflow entirely; applying before writing or planning has nothing to act on and is not how the core loop is ordered.
Why D is wrong: This is tempting because write is correctly first, but planning is meant to preview changes before apply commits them, not after.