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

terraform validate

Ask the Captain
Instagram
Typos caught before anything touches the cloud.
You'll learn to

catch syntax and type errors with validate and say what it cannot catch

Recap

  1. 1validate checks syntax, argument names, types, required arguments, references
  2. 2It needs init first (provider schemas), but reads no state and calls no API
  3. 3It can't catch a wrong image id, missing permissions or a name already taken
Check yourself

Which mistake can terraform validate catch?

3.3

Stamp this lesson

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