Terraform

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
Syntax, the 3D SyntaxQuest mascot

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

  1. 01

    Introduction to IaC

    What Infrastructure as Code is, why it matters, what idempotency means, and how Terraform uses a declarative approach.

  2. 02

    The Terraform Ecosystem

    Compare Terraform with other tools, understand its multi-cloud approach, the role of state, and why HCL matters.

  3. 03

    Installing and First Commands

    Learn what `init`, `fmt`, `validate`, `plan`, and `apply` do, plus the `.terraform` directory and `.terraform.lock.hcl` file.

  4. 04

    Basic HCL Syntax

    Understand blocks, arguments, basic types, and the general structure of a Terraform resource.

  5. 05

    Deploying Your First Resource

    Understand `apply`, `destroy`, plan symbols, and the `init → plan → apply → destroy` lifecycle with a real resource.

  6. +35 more lessons in the app

    The full syllabus, the explanations and the practice are in the app.

Terraform course syllabus

Beginner 10 lessons

  1. Introduction to IaC
  2. The Terraform Ecosystem
  3. Installing and First Commands
  4. Basic HCL Syntax
  5. Deploying Your First Resource
  6. Resources and Data Sources
  7. Input Variables
  8. Output Values
  9. Locals and Expressions
  10. Lifecycle: Plan, Apply, Destroy

Intermediate 10 lessons

  1. The State File
  2. Remote Backends
  3. State Locking
  4. State Commands
  5. Workspaces
  6. Local Modules
  7. Remote Modules
  8. Module Variables and Outputs
  9. Module Composition
  10. Terraform Registry

Advanced 20 lessons

  1. Built-in Functions
  2. for_each and count
  3. Dynamic Blocks
  4. Conditional Expressions
  5. Provisioners and null_resource
  6. Terraform in CI/CD
  7. Policy as Code
  8. Terraform Cloud and Enterprise
  9. State Security and Secrets
  10. Best Practices and Organization
  11. Variable Validation
  12. Pre and Post Conditions
  13. Terraform Test
  14. Linting and Formatting
  15. Infrastructure Testing
  16. Multi-Provider and Aliases
  17. Moved Blocks and Refactoring
  18. Custom Providers
  19. Terraform CDK
  20. 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.

Download

Questions 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.