Module 3 of 8

Core Terraform Workflow

2.0 hours (lessons 80 min, lab 25 min, knowledge check 15 min)

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