Welcome to the Terraform Guide for Infrastructure Engineers – a hands-on, example-driven learning path for mastering Terraform from scratch.
Whether you're managing cloud-native environments, virtualized infrastructure, or local development setups, this guide walks you through real-world use cases using Terraform.
This guide is for infrastructure engineers, sysadmins, or DevOps practitioners who want to:
- Understand infrastructure as code (IaC)
- Automate infrastructure provisioning
- Learn Terraform hands-on and build reusable infrastructure
Each folder represents a learning chapter:
Folder | Description |
---|---|
00-introduction |
What is Terraform, IaC concepts, tooling |
01-terraform-basics |
CLI usage, providers, resources |
02-local-infra-docker |
Provision Docker containers locally |
03-cloud-infra-aws |
Deploy to AWS (with free tier) |
04-modules-and-reuse |
Writing reusable, DRY Terraform code |
05-state-and-backends |
State management, backends, locking |
06-best-practices |
Security, structure, team workflows |
# Install Terraform (v1.6+ recommended)
https://developer.hashicorp.com/terraform/downloads
# Clone the repo
git clone https://github.com/YOUR_USERNAME/terraform-guide.git
cd terraform-guide