Included in Pro Max
Learn Terraform on your iPhone
Learn Terraform with 40 short lessons and 200 exercises. Each lesson explains the idea, shows you an example and gets you practicing, with an AI tutor that gives hints when you get stuck.
- lessons
- 40
- exercises
- 200
- Beginner
- 10
- Intermediate
- 10
- Advanced
- 20
What is Terraform used for?
Terraform lets you define cloud infrastructure as code: servers, networks and databases in versioned, reproducible files.
How the course starts
- 01
Introduction to IaC
What Infrastructure as Code is, why it matters, what idempotency means, and how Terraform uses a declarative approach.
- 02
The Terraform Ecosystem
Compare Terraform with other tools, understand its multi-cloud approach, the role of state, and why HCL matters.
- 03
Installing and First Commands
Learn what `init`, `fmt`, `validate`, `plan`, and `apply` do, plus the `.terraform` directory and `.terraform.lock.hcl` file.
- 04
Basic HCL Syntax
Understand blocks, arguments, basic types, and the general structure of a Terraform resource.
- 05
Deploying Your First Resource
Understand `apply`, `destroy`, plan symbols, and the `init → plan → apply → destroy` lifecycle with a real resource.
-
+35 more lessons in the app
The full syllabus, the explanations and the practice are in the app.
Terraform course syllabus
Beginner 10 lessons
- Introduction to IaC
- The Terraform Ecosystem
- Installing and First Commands
- Basic HCL Syntax
- Deploying Your First Resource
- Resources and Data Sources
- Input Variables
- Output Values
- Locals and Expressions
- Lifecycle: Plan, Apply, Destroy
Intermediate 10 lessons
- The State File
- Remote Backends
- State Locking
- State Commands
- Workspaces
- Local Modules
- Remote Modules
- Module Variables and Outputs
- Module Composition
- Terraform Registry
Advanced 20 lessons
- Built-in Functions
- for_each and count
- Dynamic Blocks
- Conditional Expressions
- Provisioners and null_resource
- Terraform in CI/CD
- Policy as Code
- Terraform Cloud and Enterprise
- State Security and Secrets
- Best Practices and Organization
- Variable Validation
- Pre and Post Conditions
- Terraform Test
- Linting and Formatting
- Infrastructure Testing
- Multi-Provider and Aliases
- Moved Blocks and Refactoring
- Custom Providers
- Terraform CDK
- Architecture Patterns
A question from the course
The Terraform Ecosystem
After applying this configuration, what output do you expect from `terraform state list`?
terraform {
required_providers {
local = {
source = "hashicorp/local"
}
}
}
provider "local" {}
resource "local_file" "note" {
filename = "note.txt"
content = "Terraform state demo"
} The answer, the explanation and many more exercises are waiting for you in the app.
DownloadQuestions about the course
Is the Terraform course free?
Terraform is part of Pro Max. The app is free and you can start with the free courses before subscribing.
Do I need experience to learn Terraform?
No. The course starts at beginner level (10 lessons) and moves on to intermediate and advanced at your pace.
How long is the Terraform course?
It has 40 lessons and 200 exercises. Lessons are short, so you can move forward a few minutes a day; adaptive learning brings back what you are about to forget.