NEW350+ rooms now have a live terminal, so you can learn by typing the commands, right in your browser.Learn in a live terminal. 350+ rooms.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Master the core concepts of Terraform, including HCL syntax, state management, providers, and resource lifecycle to build reproducible cloud infrastructure.
This module provides the essential foundation for understanding and working with Infrastructure as Code (IaC) using Terraform. Before you can secure infrastructure, you must understand how it is defined and deployed. You will learn the core principles of the shift-left paradigm for cloud environments, the structure of HashiCorp Configuration Language (HCL), and how Terraform interacts with cloud providers. We will cover the lifecycle of resources, the critical concept of state management, and how to parameterize configurations using variables and outputs. The module culminates in a hands-on guided lab where you will write, validate, and apply your first Terraform configuration to provision a secure cloud resource.
Each task’s Rep is set individually — intermediate tasks average +50. The +0 room bonus unlocks at 100%.
Frequently Asked Questions
What is Terraform?
Terraform is an infrastructure as code tool that lets you describe cloud and on-premises resources in HashiCorp Configuration Language, then create, change and destroy them in a predictable, repeatable way.
What does Terraform state do?
State maps your configuration to real resources, tracks their attributes and lets Terraform calculate what to change. Because it can hold sensitive data, it should be stored remotely with encryption and access control.
Do I need cloud experience to learn Terraform?
Basic cloud and command-line knowledge helps, but you can learn the core concepts step by step. The Terraform Fundamentals room on Codelivly is free and hands-on, covering HCL, providers, modules and state.