skill-based roadmap · DevOps
Terraform Roadmap
A structured path from zero to job-ready proficiency in Terraform, covering infrastructure-as-code fundamentals through advanced enterprise patterns, state management, and CI/CD integration.
✓ Every resource link below is verified live.
1. Stage 1: Foundations & Setup
Infrastructure as Code (IaC) Concepts
Understand why IaC exists before writing any code.
Installing Terraform & CLI Basics
Get hands-on with the tool from day one.
Terraform Core Workflow (init, plan, apply, destroy)
The four commands drive every Terraform workflow.
HCL Syntax Basics
HCL is Terraform's language; fluency is non-negotiable.
2. Stage 2: Core Language & Providers
Providers & Resources
Providers connect Terraform to cloud APIs.
Variables, Outputs & Locals
Parameterize configs to make them reusable and dynamic.
Data Sources
Query existing infrastructure without managing it directly.
Expressions, Functions & Conditionals
Logic and built-in functions unlock powerful dynamic configs.
3. Stage 3: State Management
Understanding Terraform State
State is the source of truth; mismanaging it breaks everything.
Remote Backends (S3, Azure Blob, GCS, Terraform Cloud)
Remote backends enable team collaboration and durability.
State Locking & Workspaces
Locking prevents conflicts; workspaces isolate environments.
terraform state Commands & Drift Detection
Manually reconcile real infrastructure with recorded state.
4. Stage 4: Modules & Code Reuse
Writing & Structuring Modules
Modules are the primary unit of reusable Terraform code.
Terraform Registry & Community Modules
Leverage battle-tested modules to accelerate delivery.
Module Versioning & Best Practices
Pin module versions to prevent unexpected breaking changes.
Testing Modules with Terratest
Automated tests validate modules work as intended.
5. Stage 5: Provisioning Real Cloud Infrastructure
Provisioning AWS Core Services (VPC, EC2, S3, IAM)
AWS is the most common Terraform target in job postings.
Kubernetes & Helm with Terraform
K8s provisioning via Terraform is a sought-after skill.
Managing Secrets & Sensitive Values
Never expose secrets; learn Vault and sensitive variable flags.
6. Stage 6: CI/CD & Team Workflows
Terraform Cloud & Terraform Enterprise
The official SaaS platform adds governance, runs, and RBAC.
Integrating Terraform in GitHub Actions / GitLab CI
Automate plan/apply in pull requests for safe deployments.
Policy as Code with Sentinel & OPA
Enforce compliance and security guardrails at scale.
Linting & Security Scanning (tflint, tfsec, checkov)
Static analysis catches bugs and misconfigs before apply.
7. Stage 7: Advanced Patterns & Certification
Terraform at Scale: Terragrunt & Monorepos
Terragrunt DRY patterns are common in large enterprises.
Custom Providers & CDK for Terraform (CDKTF)
CDKTF lets you write Terraform in TypeScript, Python, or Go.
HashiCorp Terraform Associate Certification (003)
Industry-recognized cert validates job-ready Terraform skills.
Real-World Project: Multi-Tier AWS Architecture
Portfolio projects prove job-readiness to employers.