Terraform: Zero to Expert

A complete path from zero to expert: Infrastructure as Code basics, HCL, state, modules, cloud providers, CI/CD, testing, security and scaling Terraform across an organization. Free resources first, with paid courses and books listed separately.

11 phases69 topics181 free resources8 books

Press H for shortcuts.

Every topic lists free resources first; paid courses and books are listed separately. Many paid courses can be audited for free.

Showing 69 of 69 topics

What Is Infrastructure as Code?
Instead of clicking through a cloud console, you describe servers, networks and databases in files, review them like code, and recreate them any time. Learn declarative vs imperative and why IaC makes infrastructure repeatable and auditable.
How Terraform Works — Providers, State & the Core Workflow
Terraform reads your configuration, compares it with the real world (stored in state), shows a plan of changes, and applies it through providers that talk to cloud APIs. Learn the write → init → plan → apply → destroy loop.
Terraform vs OpenTofu, Pulumi, Ansible & CloudFormation
Know the landscape. OpenTofu is the open-source fork of Terraform under the Linux Foundation; Pulumi uses general-purpose languages; CloudFormation is AWS-only; Ansible focuses on configuring servers. Most Terraform skills transfer to OpenTofu.
Install Terraform & Your First Config
Install the CLI and an editor with HCL support, then create your first resource. Docker works for a no-cost start: you can learn without any cloud account.
Complete Beginner Video Courses
A full video walkthrough helps you see the workflow end to end. Watch one while building along with the same project, rather than just watching.