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.
- Host: GitHub
- URL: https://github.com/ashiverma199/terraform_project
- Owner: Ashiverma199
- Created: 2025-06-27T11:01:03.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-29T19:23:02.000Z (12 months ago)
- Last Synced: 2025-07-11T06:08:01.358Z (12 months ago)
- Topics: aws, aws-ec2, aws-iam, aws-s3, awsvpc, devops, hcl, terraform
- Language: HCL
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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