TA-004

Introduction to Terraform Modules

Where Terraform finds modules, how values pass into and out of them, composing configurations from modules, and constraining and upgrading module versions.

  • 4 lessons
  • Module quiz

Modules package configuration for reuse. Every configuration is a root module, and most call child modules from local paths, registries or version control.

What the exam expects

Expect questions on module sources and their syntax, variable scope and outputs, module meta-arguments, the standard module structure, registry publishing and version constraints.

How this module is organized

Module Sources and the Terraform Registry covers sources. Module Inputs, Outputs and Variable Scope covers scope. Composing Configuration with Modules covers composition and structure. Module Versioning covers versions and upgrades.

  1. Module Sources and the Terraform Registry Lesson 1
  2. Module Inputs, Outputs and Variable Scope Lesson 2
  3. Composing Configuration with Modules Lesson 3
  4. Module Versioning Lesson 4
  5. Practise and review
  6. Checkpoint Practice activities across the module
  7. Test your knowledge 6 questions