This Terraform project demonstrates how to create three EC2 instances and a Load Balancer in AWS. It serves as a basic example for deploying infrastructure as code (IaC) using Terraform.
Before you begin, ensure you have the following installed:
- Terraform
- AWS CLI configured with appropriate credentials
-
Clone the repository
-
Initialize & Validate Terraform
terraform init terraform validate
-
Plan the infrastructure
terraform plan
-
Apply the configuration
terraform apply
To remove the created resources, run:
terraform destroy
- This is a simple example and may require modifications for production use.
- Ensure your AWS credentials and permissions are correctly configured.
Feel free to contribute or modify the project as needed!