Module 3 of 8
Core Terraform Workflow
Learning objectives
| ID | You will be able to… |
|---|---|
| 3a | Describe the Write → Plan → Apply workflow for individuals and teams. |
| 3b | Explain what terraform init does and when it must be re-run. |
| 3c | Explain what terraform validate checks and what it doesn't check. |
| 3d | Generate, read, save, and review plans, using -out, -refresh-only, -target, -replace, -destroy, and -var/-var-file. |
| 3e | Apply changes interactively, with -auto-approve, or from a saved plan. Explain how partial failure behaves. |
| 3f | Destroy all or part of the managed infrastructure safely. |
| 3g | Format configuration with terraform fmt and its -check, -recursive, and -diff flags. |
In this module
- Lesson 3.1: The Terraform Workflow (3a)
- Lesson 3.2: Initializing a Working Directory (3b)
- Lesson 3.3: Validating a Configuration (3c)
- Lesson 3.4: Generating and Reviewing a Plan (3d)
- Lesson 3.5: Applying Changes (3e)
- Lesson 3.6: Destroying Infrastructure (3f)
- Lesson 3.7: Formatting and Style (3g)
- What Each Command Touches
- Lab 3: The Full Lifecycle with Docker (25 min)
- Knowledge Check 3 (10 questions)
- Cheat Sheet 3: Core Workflow