Terraform Academy

Variables and Validation

Use types, validation, locals and outputs to create safe module contracts.

Learning outcomes

What you should be able to explain and demonstrate

01

Model complex inputs

Explain the principle, apply it to a realistic system and identify the operational trade-offs.

02

Reject invalid plans early

Explain the principle, apply it to a realistic system and identify the operational trade-offs.

03

Avoid duplicated expressions

Explain the principle, apply it to a realistic system and identify the operational trade-offs.