Skip to content

shekhargit1912/Infrafordemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infrafordemo

This project contains Terraform code to provision AWS infrastructure for a demo environment, including VPC, subnets, NAT gateway, and EKS cluster.

Prerequisites

  • Terraform >= 1.0
  • AWS CLI configured with appropriate credentials
  • An AWS account

Usage

  1. Clone the repository:

    git clone <your-repo-url>
    cd Infrafordemo
  2. Initialize Terraform:

    terraform init
  3. Plan the deployment:

    terraform plan -var-file="envs/dev/dev.tfvars"
  4. Apply the deployment:

    terraform apply -var-file="envs/dev/dev.tfvars"
  5. Destroy the deployment:

    terraform destroy -var-file="envs/dev/dev.tfvars"

Project Structure

  • main.tf - Root Terraform configuration
  • modules/ - Reusable Terraform modules (VPC, EKS, etc.)
  • envs/dev/dev.tfvars - Variable values for the dev environment
  • variables.tf - Input variable definitions

Notes

  • Do not commit your terraform.tfstate files to version control.
  • Update the variable values in envs/dev/dev.tfvars as needed for your environment.

Feel free to expand this README with more details about your modules, variables, or

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages