HashiCorp Terraform 003 Configuration Guide

HashiCorp Terraform 003 configuration guide covering resources, variables, expressions, and outputs decisions.

This chapter matters because Terraform is configuration first. Once you can separate resources, data sources, variables, outputs, and expressions, most Terraform language questions stop feeling like syntax trivia.

Work this chapter in order

Lesson Focus
3.1 Resources, Data, and Expressions Learn the building blocks that declare and read infrastructure.
3.2 Variables, Outputs, and Sensitive Values Learn the input and output model that keeps Terraform reusable and safe.

Fast routing inside this chapter

If the question is really about… Go first to…
declaring or reading infrastructure 3.1 Resources & Data
shaping input and exposing results 3.2 Variables & Outputs

What strong answers usually do

  • separate managed objects from read-only lookups
  • keep inputs and outputs distinct
  • recognize that expressions connect configuration together

In this section

Revised on Sunday, May 10, 2026