Skip to content
Captain's Academy0
← Terraform sea chart
Island 3 · Core workflow · Port 3.6

terraform apply

Ask the Captain
Instagram
Apply failed halfway. What happens to the half that worked?
You'll learn to

apply a change or a saved plan, use -auto-approve and -replace, and say what happens on a partial failure

Recap

  1. 1apply = a fresh plan + your yes. -auto-approve only behind a review
  2. 2terraform apply tfplan runs a saved plan exactly; a stale plan is refused
  3. 3-replace=ADDRESS rebuilds one thing. No rollback: fix and apply again
Check yourself

Half the resources failed during apply. What does Terraform do?

3.6

Stamp this lesson

Watched it and passed the check? Mark it in your logbook.