← All workshops

Terraform 101

4 hours

Infrastructure as code is ownership too. Learn Terraform, HCL, state management, and continuous delivery with drift detection.

Before you start
1

Set Up

🔒

Get your machine ready and confirm it with the setup check.

concept
Act 1

Infrastructure as code

2

Why Terraform?

🔒

Infrastructure as code, and why click-ops will eventually hurt you.

theory
3

The Core, State, and Providers

🔒

Terraform's engine, its state file, and the providers that talk to real APIs.

theory + exercise
4

HCL and Your First Resource

🔒

The HCL language and its anatomy, then create a GitHub repository and a milestone that depends on it.

exercise
Act 2

Reusable, stateful infrastructure

5

Variables, Locals, and for_each

🔒

Move hardcoded values into variables and locals, keep secrets out of your files, and iterate resources with for_each and count.

theory + exercise
6

Terraform State

🔒

What state is, importing existing resources, the state commands and console, and moving state to a shared remote backend.

theory + exercises
Act 3

Continuous delivery

7

Continuous Delivery for Infrastructure

🔒

Stop applying from your laptop. Plan on every PR, review the diff, and apply the reviewed change on merge, with GitHub Actions.

theory + exercise
8

State Drift and Safe Applies

🔒

When reality diverges from your config. How the pipeline detects drift, refuses to apply a stale plan, and reconciles on a schedule.

theory + exercise
9

Wrap-up and Extra Mile

🔒

What you've learned, what's next, and where to go deeper.

discussion

Want to take this workshop?

The full material unlocks when we run this workshop live. Book a session for your team, or get in touch to find out when the next public date is.