Skip to content

A collection of Terraform projects demonstrating infrastructure provisioning on AWS, including EC2, S3, IAM, VPC, static website hosting, and reusable Terraform modules with functions and data sources.

Notifications You must be signed in to change notification settings

Ashiverma199/terraform_project

Repository files navigation

🌩️ Terraform AWS Infrastructure Project

This project uses Terraform, an open-source Infrastructure as Code (IaC) tool, to provision and manage AWS cloud resources automatically. It demonstrates how to define, version, and deploy cloud infrastructure efficiently and securely.


📚 What is Terraform?

Terraform is a tool by HashiCorp that lets you write infrastructure as code using simple .tf files. It works with many cloud providers like AWS, Azure, and GCP.

Key Terraform features:

  • Declarative syntax
  • Version control with Git
  • Reusable modules
  • State management
  • Plan & preview changes before applying

☁️ How Terraform Integrates with AWS

Terraform uses the hashicorp/aws provider to create and manage AWS resources like:

  • EC2 instances
  • VPCs, subnets, route tables
  • S3 buckets
  • IAM roles and policies
  • And more...

Terraform authenticates with AWS using:

  • aws configure (local credentials)
  • ~/.aws/credentials file
  • Environment variables (AWS_ACCESS_KEY_ID, etc.)
  • IAM roles (in CI/CD or EC2)

🛠️ Basic Terraform Workflow

1. Initialize Terraform

terraform init

About

A collection of Terraform projects demonstrating infrastructure provisioning on AWS, including EC2, S3, IAM, VPC, static website hosting, and reusable Terraform modules with functions and data sources.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published