Terraform for Cloud & DevOps Engineers¶
Duration: 8–10 weeks · Difficulty: Intermediate → Advanced
Production Infrastructure as Code (IaC) with Terraform — versioned HCL, reviewable plans, remote state, reusable modules, and CI/CD gates for Cloud, DevOps, Platform, and SRE roles.
Course status
Ready — 20 modules with production-grade labs: Docker provider stacks locally, kind for Kubernetes, LocalStack or AWS sandbox for cloud APIs, and real terraform apply with operational proof. Curriculum follows HashiCorp Terraform documentation. Start with Introduction to Terraform and IaC.
1. Course overview¶
Purpose¶
Treat infrastructure like software: declarative configuration, peer-reviewed plans, encrypted remote state, composable modules, and automated validation — from first terraform apply through multi-cloud platforms and production troubleshooting.
Target roles¶
Cloud Engineer · DevOps · Platform · SRE · Infrastructure · DevSecOps
Prerequisites¶
- Linux · Networking
- Git · Docker
- Basic cloud knowledge (AWS, Azure, or Google Cloud)
- GitHub Actions or GitLab CI before Module 16
Learning arc¶
| Phase | Modules | Level |
|---|---|---|
| Foundations | 1–4 | Beginner |
| Core HCL & providers | 5–8 | Intermediate |
| Modules & expressions | 9–11 | Intermediate |
| Workspaces & platform | 12–14 | Advanced |
| Security & automation | 15–16 | Advanced |
| Multi-cloud & Kubernetes | 17–18 | Advanced |
| Production & ops | 19–20 | Advanced |
Capstone outcomes¶
Reusable modules · remote state · pinned providers · CI plan gates · multi-cloud roots · Kubernetes platform wiring · production repo layout · structured troubleshooting
2. Modules¶
| Module | Focus | Start here |
|---|---|---|
| 1 | IaC fundamentals | Introduction |
| 2 | Installing Terraform | Install & CLI |
| 3 | Terraform basics | Init · plan · apply |
| 4 | HCL fundamentals | Blocks & expressions |
| 5 | Providers | Providers & plugins |
| 6 | Resources | Resources & meta-arguments |
| 7 | Variables & outputs | Variables · locals · outputs |
| 8 | State management | State · Remote backends |
| 9 | Modules | Create modules · Registry |
| 10 | Expressions & functions | Functions & dynamic blocks |
| 11 | Data sources | Data sources |
| 12 | Workspaces | Workspaces & envs |
| 13 | Cloud & Enterprise | HCP Terraform |
| 14 | Testing | Format · validate · test |
| 15 | Security | Secrets & policy |
| 16 | CI/CD | Pipelines |
| 17 | Multi-cloud | AWS · Azure · GCP |
| 18 | Kubernetes | Clusters & providers |
| 19 | Production | Production patterns |
| 20 | Troubleshooting | Troubleshooting |
3. Practice¶
Related¶
- AWS · Azure · GCP
- Kubernetes · Helm · Ansible
- DevOps Engineer path