Skip to content
Captain's Academy0
← Terraform sea chart
Island 5 · Configuration

Interview: variables, locals or outputs?

Interview · 10 of 10Ask the Shipwright

Watch

What to remember

What to remember
  1. 1Variables for what the caller changes, locals for derived values
  2. 2One var file per environment, secrets from the pipeline or a vault
  3. 3sensitive only hides the screen: protect the state, use ephemeral values

Go deeper

Ask the Shipwright

Stuck on something in this lesson? Ask, up to 10 questions a day.

Stamp and sail

5.I

Stamp this lesson

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