Understanding Terraform Plan and Apply
Learn the core Terraform workflow: how plan previews changes and apply executes them, the heart of safe infrastructure as code.
The Core Workflow
Terraform's daily loop is simple: write config, run plan to preview, then apply to make it real. Mastering plan and apply is the heart of safe IaC.
What plan Does
terraform plan diffs three things — your config, the current state, and the real infrastructure — then shows the actions to reconcile them, changing nothing.
terraform planAll lessons in this course
- Introduction to IaC and Terraform
- Installing Terraform and CLI Basics
- Your First Terraform Configuration
- Understanding Terraform Plan and Apply