Interview Prep/Terraform/Workflow and CLI

What does `terraform plan` do?

BeginnerConceptWorkflow and CLI
Answer

It computes and displays what Terraform would change to make real infrastructure match the configuration, without changing anything. Output uses + create, - destroy, ~ update in place and -/+ replace. We always read the summary line (Plan: 3 to add, 1 to change, 0 to destroy) before applying.

All Terraform questions Roadmap: Terraform

More on Workflow and CLI