An open API service indexing awesome lists of open source software.

https://github.com/ashiverma199/terraform_project

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.
https://github.com/ashiverma199/terraform_project

aws aws-ec2 aws-iam aws-s3 awsvpc devops hcl terraform

Last synced: about 1 month ago
JSON representation

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.

Awesome Lists containing this project

README

          

đŸŒŠī¸ 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

```bash
terraform init