Generate and review an execution plan
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing HashiCorp Certified: Terraform Associate premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- What a plan is: refresh, compare, propose
- Reading a plan: action symbols and the summary
- Planning modes and refresh, scope, and replace flags
- Saved plans and detailed exit codes
- Exam-pattern recognition
Planning invocations and how each reshapes refresh, compare, propose
| Behavior | Default plan | -refresh-only | -refresh=false | -replace=ADDR | -target=ADDR |
|---|---|---|---|---|---|
| Refreshes state first | Yes | Yes, only this | No | Yes | Yes |
| Proposes config changes | Yes | No | Yes | Yes, forces recreate | Yes, scoped |
| Scope of planning | All resources | State and outputs | All resources | One instance + deps | Target + deps |
| Typical use | Every change | Accept external drift | Faster re-plan | Force recreation | Exceptional recovery |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.