HashiCorp Terraform 004 modules guide covering module sources, versioning, reuse, and composition decisions.
Modules are Terraform’s reuse mechanism. HashiCorp is testing whether you can separate packaging reusable configuration from separating state or storing values. If module and workspace concepts blur together, module questions become harder than they need to be.
| Lesson | Focus |
|---|---|
| 5.1 Module Sources & Interfaces | Learn where modules come from and how inputs and outputs form the interface. |
| 5.2 Using Modules & Versions | Learn how to reuse modules safely and constrain external module versions. |
| If the question is really about… | Go first to… |
|---|---|
| module source, input, output, or variable scope | 5.1 Module Sources & Interfaces |
| reusing modules or pinning their versions | 5.2 Using Modules & Versions |