supraj.dev
Terraform

Terraform plan and apply

How does Terraform know what to change in my cloud without rebuilding everything?

28 s loop7 sentencesSilent, read alongScene: Journey
Read the story, sentence by sentence 7 sentences

What you'll be able to say

  1. terraform plan compares your configuration with what already exists and lists what it would add, change or destroy, without touching your infrastructure.
  2. terraform apply carries out those changes after you approve them, or runs a saved plan file from terraform plan -out.
  3. Resources that already match your code are left unchanged, and Terraform records what it manages in a state file, terraform.tfstate by default.