Learn Everything

Module · DevOps Engineer

Terraform

Infrastructure as code: write it, plan it, apply it, destroy it.

5 topics6 interactive tasks

Tool Deep-Dive Available

View full architecture diagrams, CLI cheatsheets, and production gotchas.

Open Terraform Hub ↗

TOPIC 01

Init & Plan

HCL, providers and the plan that predicts every change.

What you'll practice

  • Write Your First Configuration — guided · beginner

A command you'll meet

mkdir ~/infra

Open any task below to get the full step-by-step walkthrough — every command is explained, and the lab validator checks what you actually built.

TOPIC 02

Apply & State

Turning plans into real resources — and tracking them in state.

What you'll practice

  • Apply the Configuration — practice · beginner

A command you'll meet

cd ~/infra

Open any task below to get the full step-by-step walkthrough — every command is explained, and the lab validator checks what you actually built.

TOPIC 03

Destroy

Infrastructure as code cuts both ways.

What you'll practice

  • Destroy It All — practice · beginner

A command you'll meet

cd ~/infra

Open any task below to get the full step-by-step walkthrough — every command is explained, and the lab validator checks what you actually built.

TOPIC 04

Modules

Package resources once and reuse them in every environment.

What you'll practice

  • Wire Up a Bucket Module — practice · intermediate

A command you'll meet

mkdir ~/tf-modules/modules/s3

Open any task below to get the full step-by-step walkthrough — every command is explained, and the lab validator checks what you actually built.

TOPIC 05

State, Backends & Guardrails

Where the state lives, and what happens to your infrastructure when you press the wrong button.

What you'll practice

  • Configure a Remote Backend — practice · intermediate
  • Guard a Bucket with a Lifecycle Rule — challenge · advanced

A command you'll meet

terraform init

The state file is the memory of your infrastructure. Open the task below for the full walkthrough.