Infrastructure as Code with OpenTofu (Terraform-Compatible) and Ansible
Exit

Lesson 3 of 10 · Fundamentals

The HCL language: resources, variables, outputs, locals and types

45 min Debian 12

Objective

Read and write the language of OpenTofu (and Terraform) fluently: blocks, arguments, references, typed and validated input variables, value files, local values, outputs and data sources. This is the grammar for the rest of the course.

This lesson is part of the full course

Unlock Infrastructure as Code with OpenTofu (Terraform-Compatible) and Ansible to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.