Terraform

Terraform & Terragrunt Zero-to-Hero

A five-tier mastery path — Foundation to Specialist — for Terraform & Terragrunt: author modules for every service, orchestrate multi-environment infrastructure, enforce approval gates, and run an enterprise IaC platform.

Foundation → Intermediate → Advanced → Expert → Specialist ~210 hours 87 of 89 lessons ready HashiCorp Terraform Associate (003)
Start the course

A complete, job-oriented path through Terraform and Terragrunt: HCL and the core workflow, state and remote backends, authoring and versioning reusable modules, Terragrunt DRY multi-environment orchestration, CI/CD approval gates, policy-as-code, testing, drift recovery, and enterprise IaC platforms — plus a large hands-on real-world layer that provisions actual infrastructure with Terraform on Azure (incl. Azure DevOps pipelines), AWS (VPC/EC2/ALB/RDS/SRE), and Kubernetes on AWS EKS (IRSA, the AWS Load Balancer Controller, ExternalDNS, autoscaling, CSI storage) — and alternative IaC (Pulumi, CDKTF, CloudFormation, Ansible).

What you’ll be able to do

  • Write Terraform confidently — HCL, providers, the core workflow and state
  • Author, test, version and publish reusable modules for any cloud
  • Orchestrate dev/uat/staging/prod with Terragrunt — DRY, dependencies, remote state
  • Enforce approval gates, policy-as-code and OIDC keyless auth in CI/CD
  • Recover from drift and state corruption, and operate state at scale
  • Architect an enterprise IaC platform and be Terraform-Associate-ready

Prerequisites

  • Basic IT literacy and a terminal — no prior IaC experience required
  • A free cloud account (AWS/Azure/GCP) for the hands-on labs

Who it’s for

Engineers new to IaC, cloud engineers standardising infrastructure, and people preparing for the HashiCorp Terraform Associate or real platform-engineering work.

Curriculum

Tier 3 · Advanced — Testing & Provider Development

Prove modules work: native testing + Terratest, and building your own provider.

  1. 32 Testing Terraform for Real: Native terraform test, Terratest, and Policy Checks in CI Advanced 13 min read
  2. 33 Building a Custom Terraform Provider with the Plugin Framework Expert 16 min read

Tier 4 · Real-World — Terraform on Azure (Infrastructure & Azure DevOps)

Apply Terraform to Azure end to end: the azurerm provider and remote state, resource groups, networking, VMs, load balancing, App Service, AKS, Key Vault/SQL/DNS, Azure DevOps CI/CD pipelines, and multi-environment landing zones — every lesson a complete, runnable demo.

  1. 38 Terraform on Azure: The azurerm Provider, Authentication (CLI/SPN/MSI/OIDC) & Remote State in Azure Storage Intermediate 46 min read
  2. 39 Terraform on Azure: Resource Groups, Storage Accounts, Naming Conventions & Tagging Strategy Intermediate 49 min read
  3. 40 Terraform on Azure: Virtual Networks, Subnets, NSGs, Route Tables & VNet Peering Intermediate 34 min read
  4. 41 Terraform on Azure: Linux & Windows Virtual Machines, NICs, Public IPs, cloud-init & Scale Sets Senior 46 min read
  5. 42 Terraform on Azure: Azure Load Balancer, Application Gateway, WAF & Health Probes Senior 35 min read
  6. 43 Terraform on Azure: App Service Plans, Web Apps, Deployment Slots & Custom Domains Senior 40 min read
  7. 44 Terraform on Azure: Key Vault (Secrets), Azure SQL Database & Azure DNS as Code Senior 56 min read
  8. 45 Terraform on Azure: Provisioning AKS — Node Pools, Managed Identity, RBAC, Add-ons & kubeconfig Expert 46 min read
  9. 46 Terraform CI/CD with Azure DevOps: YAML Pipelines, Service Connections, plan/apply Stages & Approval Gates Expert 36 min read
  10. 47 Terraform on Azure at Scale: Reusable Modules, Multi-Environment Landing Zones & SRE Practices Expert 48 min read

Tier 4 · Real-World — Terraform on AWS (Infrastructure & SRE)

Apply Terraform to AWS end to end: the aws provider and S3+DynamoDB remote state, VPC networking, EC2 and security groups, ALB/NLB load balancing, Auto Scaling, Route 53 and ACM, RDS/Aurora, IAM and S3, CloudWatch/SNS observability, and a full 3-tier architecture with reusable modules and SRE practices — every lesson a complete, runnable demo.

  1. 48 Terraform on AWS: The aws Provider, Authentication (Profiles/Assume-Role/OIDC) & Remote State in S3 + DynamoDB Intermediate 47 min read
  2. 49 Terraform on AWS: Building a VPC — Public/Private Subnets, Internet & NAT Gateways & Route Tables Senior 44 min read
  3. 50 Terraform on AWS: EC2 Instances, Security Groups, Key Pairs, EBS Volumes & user-data Senior 48 min read
  4. 51 Terraform on AWS: Application & Network Load Balancers, Target Groups, Listeners & Health Checks Senior 37 min read
  5. 52 Terraform on AWS: Auto Scaling Groups, Launch Templates, Scaling Policies & ALB Integration Senior 36 min read
  6. 53 Terraform on AWS: Route 53 DNS (Records, Alias, Failover, Weighted) & ACM SSL Certificates Senior 58 min read
  7. 54 Terraform on AWS: RDS & Aurora — Subnet Groups, Parameter Groups, Multi-AZ, Read Replicas & Secrets Senior 58 min read
  8. 55 Terraform on AWS: IAM (Users, Roles, Policies, Instance Profiles) & S3 (Buckets, Policies, Encryption, Versioning) Senior 54 min read
  9. 56 Terraform on AWS: CloudWatch Alarms, Dashboards & Logs, SNS Alerting & SRE Observability as Code Senior 36 min read
  10. 57 Terraform on AWS at Scale: A 3-Tier Web Architecture, Reusable Modules, Multi-Environment & SRE Expert 47 min read

Tier 5 · Specialist — Terraform on AWS EKS (Kubernetes Platform, 50-Demo Scope)

Provision and run a production Kubernetes platform on EKS entirely with Terraform: the cluster/VPC/node groups, IRSA, the kubernetes & helm providers and the GitOps handoff, the AWS Load Balancer Controller, ALB Ingress + ACM + ExternalDNS, Cluster Autoscaler & Karpenter, HPA/VPA, EBS & EFS CSI storage, Fargate, observability, and the end-to-end platform capstone — every lesson a runnable demo.

  1. 58 Terraform on AWS EKS: Provisioning the Cluster, VPC & Managed Node Groups from Scratch Expert 48 min read
  2. 59 Terraform on AWS EKS: OIDC Provider & IRSA — IAM Roles for Service Accounts (the Core Security Pattern) Expert 57 min read
  3. 60 Terraform on AWS EKS: the kubernetes & helm Providers, App Deployment & the GitOps Handoff Expert 47 min read
  4. 61 Terraform on AWS EKS: Installing the AWS Load Balancer Controller (IRSA + Helm) Expert 38 min read
  5. 62 Terraform on AWS EKS: ALB Ingress, ACM SSL, ExternalDNS & Route 53 Automation Expert 64 min read
  6. 63 Terraform on AWS EKS: Node Autoscaling with Cluster Autoscaler & Karpenter Expert 48 min read
  7. 64 Terraform on AWS EKS: Metrics Server, Horizontal & Vertical Pod Autoscaling Senior 63 min read
  8. 65 Terraform on AWS EKS: the EBS CSI Driver, StorageClasses & Persistent Volumes for Stateful Workloads Senior 44 min read
  9. 66 Terraform on AWS EKS: the EFS CSI Driver & Shared ReadWriteMany Storage Senior 38 min read
  10. 67 Terraform on AWS EKS: Fargate Profiles — Serverless Pods Without Managing Nodes Senior 45 min read
  11. 68 Terraform on AWS EKS: Observability — CloudWatch Container Insights, Prometheus & Grafana Senior 39 min read
  12. 69 Terraform on AWS EKS: Assembling a Production Platform — the End-to-End Capstone Expert 48 min read

Tier 4 · Expert — IaC Tool Selection

Choose the right tool: Terraform vs Terragrunt vs Ansible vs Pulumi.

  1. 70 Terraform vs Terragrunt vs Ansible vs Pulumi: Which IaC Tool, When? Intermediate 17 min read

Tier 5 · Specialist — Configuration Management (Ansible)

Configure servers idempotently: Ansible collections/testing and dynamic inventory.

  1. 79 Engineering Idempotent Ansible Collections with Molecule Testing Advanced 16 min read
  2. 80 Dynamic Inventory and Secure Secrets for Ansible at Cloud Scale Advanced 16 min read

Track · Troubleshooting (Easy → Complex)

Diagnose anything: state, providers, drift, dependencies and CI/CD failures.

  1. 86 Terraform Troubleshooting: State, Providers, Drift, Dependencies & Debugging Intermediate 26 min read

Track · Architecting (Easy → Complex)

Turn requirements into IaC platforms: a six-rung ladder from a single module to an enterprise platform.

  1. 87 The Terraform Architecting Ladder: From a Single Module to an Enterprise IaC Platform Advanced 30 min read

Track · Certification Center

Pass the exam: the HashiCorp Terraform Associate (003) prep kit.

  1. 88 HashiCorp Terraform Associate (003) Prep Kit: Objectives, Practice Questions & Cheat Sheet Advanced 26 min read

Track · Job-Ready — Projects

Get hired: a six-project portfolio ladder from a first module to a multi-cloud platform.

  1. 89 Real-World Terraform Portfolio Projects: From a First Module to a Multi-Cloud Platform Advanced 19 min read