A collection of Terraform infrastructure projects demonstrating various AWS services and architectural patterns.
Deploy a static website on AWS using S3 and CloudFront.
Features:
- S3 static website hosting
- CloudFront CDN for global content delivery
- Public access configuration
- Modern responsive website with dark/light theme toggle
Quick Start:
cd project_1/code
terraform initV
terraform applyLearn AWS VPC Peering by creating two VPCs in different regions and connecting them.
Features:
- Cross-region VPC peering
- Multi-region deployment with provider aliases
- EC2 instances with Apache web servers
- Security groups for cross-VPC communication
Quick Start:
cd project_2/code
terraform init
terraform applyManage AWS IAM users, groups, and memberships using Terraform with CSV data source.
Features:
- CSV-based user management
- Dynamic group membership based on user attributes
- Console access with password management
- Tag-based organization (Department, JobTitle)
Quick Start:
cd project_3/code
terraform init
terraform applyCI/CD pipeline for deploying React applications to AWS.
Features:
- CodePipeline for continuous delivery
- S3 bucket for website hosting
- CloudFront CDN distribution
- Lambda for cache invalidation
Initial Terraform backend configuration.
Purpose:
- Sets up S3 bucket for Terraform state storage
- AWS CLI configured with appropriate credentials
- Terraform installed (version 1.0+)
- AWS Account with sufficient permissions
- Dynamic State Bucket Documentation
- Project 1: Static Website - System Design
- Project 2: VPC Peering - System Design
- Project 3: IAM User Management - System Design
- Clone this repository
- Navigate to your desired project
- Follow the README.md instructions in each project folder
MIT License - See individual project folders for details.