This Terraform project automates the provisioning and management of setting up basic networking setup as described in the blog. It uses Infrastructure as Code (IaC) principles to define and deploy resources on AWS.
- Prerequisites
- Getting Started
- Project Structure
- Variables
- Deploying
- Destroying
- Additional Resources
- Contributing
- License
Ensure you have the following prerequisites before using this Terraform project:
-
Clone this repository:
git clone [repository-url] cd [repository-directory]
-
Initialize the Terraform configuration:
terraform init
-
Update the variables in terraform.tfvars with your desired values.
-
Apply the Terraform configuration:
terraform apply
main.tf
: The main Terraform configuration file.
terraform.tfvars
: Example variable values (make a copy for your own use).
.gitignore
: Gitignore file to exclude certain files from version control.
The main variables used in this project include:
vpc_cidr
: CIDR block for the Virtual Private Cloud (VPC).
To deploy the infrastructure, follow the steps in the Getting Started
section.
terraform destroy
For a detailed overview of the architecture and design choices, please refer to the associated Medium blog post: Basics of AWS Networking .
Contributions are welcome! If you find any issues or have suggestions, please open an issue or submit a pull request.
This project is licensed under the MIT License.