Search⌘ K

Introduction to Modules and Data Structures

Learn how to work with Terraform modules like software functions, manage inputs and outputs through variables, and understand the structure of Terraform modules. Explore HCL data types including simple, collection, and complex types to deepen your grasp of Terraform's coding environment.

We'll cover the following...

What we will learn

In “Modules and Data Structures,” we’ll review Terraform modules more extensively. We’ll revisit some modules and work with them like we worked with functions: with inputs and outputs passed around as variables in order to see how modules are structured.

Finally, we’ll look more in depth at Terraform’s language (HCL) and see how its data types are structured.

We’ll cover module relationships, input ...