Skip to content

anuj342/two-tier-arch-using-terraform-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two-tier Terraform Architecture

Overview

  • Two-tier architecture (web/application tier + data tier) implemented with Terraform.
  • Infrastructure-as-Code that provisions networking, compute, load balancing, and database resources.

Quick Start

  1. Install Terraform (recommended version pinned in .terraform-version).
  2. Configure credentials for your cloud provider (e.g., AWS profile or environment variables).
  3. Initialize and plan:
    • terraform init
    • terraform plan -var-file=envs/dev.tfvars
  4. Apply:
    • terraform apply -var-file=envs/dev.tfvars

Repository layout

  • main.tf, variables.tf, outputs.tf — root Terraform config
  • modules/ — reusable Terraform modules (vpc, ecs/asg, rds)
  • envs/ — per-environment tfvars
  • docs/ — project documentation

Documentation

  • docs/architecture.md — architecture overview and diagram
  • docs/terraform-usage.md — how to run Terraform and backend details
  • docs/variables.md — variable reference
  • docs/security.md — security and secrets guidance
  • CONTRIBUTING.md — contribution guidelines

Support

  • For questions, open an issue or contact the team owning this repo.

Architecture Screenshot 2025-12-01 104432

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published