- This project uses Terraform to provide a robust network infrastructure for AWS.
The architecture of this project includes :
- A VPC with a default Network ACL
- Subnets:
- Two public subnets
- Two private subnets
- Route Table
- Gateways:
- Internet Gateway
- NAT Gateway
-
Before you begin, ensure you have the following installed:
-
Terraform
-
AWS CLI
-
Configured AWS credentials
(~/.aws/credentials)
To install this project, you need to:
- Clone the repository:
git clone https://github.com/ahmedalaa14/Terraform-network-aws
- Navigate to the project directory:
cd Terraform-network-aws
- Initialize Terraform:
terraform init
To use this project, you need to:
- Plan the Terraform changes:
terraform plan -var-file=dev.tfvars
- Apply the Terraform changes:
terraform apply -var-file=dev.tfvars
- Clean up To destroy the resources created by this project:
terraform destroy -var-file=dev.tfvars