*A beginner‑friendly guide implement this project *(HUG‑Challenge-Week-2)

Olajide SalamiAugust 29 2025 ∙ 5 min readView on Notion

📌 Project Brief

This project provisions a scalable, multi-environment (Dev & Prod) infrastructure on AWS using Terraform.

It demonstrates modular Infrastructure as Code (IaC) by separating concerns into reusable Terraform modules for Networking, Compute, Database, and Load Balancer.

Each environment (Dev, Prod) have different configurations but still share the same core modules.


🏗️ Architecture Diagram

(Insert your diagram here in Notion by uploading the PNG you generated earlier)

Key Components:


📂 Project Structure

terraform-multi-environs-webapp-infra/
│── modules/
│   ├── networking/
│   ├── compute/
│   ├── database/
│   └── loadbalancer/
│
│── environments/
│   ├── dev/
│   │   ├── main.tf
│   │   ├── variables.tf
│   │   ├── terraform.tfvars
│   └── prod/
│       ├── main.tf
│       ├── variables.tf
│       ├── terraform.tfvars
│
│── README.md