Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silinternational/terraform-aws-vpc
Terraform module to manage a VPC and related resources
https://github.com/silinternational/terraform-aws-vpc
Last synced: about 1 month ago
JSON representation
Terraform module to manage a VPC and related resources
- Host: GitHub
- URL: https://github.com/silinternational/terraform-aws-vpc
- Owner: silinternational
- License: mit
- Created: 2024-09-11T08:17:33.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T01:03:47.000Z (2 months ago)
- Last Synced: 2024-10-21T04:28:56.769Z (2 months ago)
- Language: HCL
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Terraform module for AWS VPC
This module is used to create a VPC along with the necessary configuration to be useful. It was
previously published at
https://github.com/silinternational/terraform-modules/tree/main/aws/vpc.## What this does
- Create VPC named after `app_name` and `app_env`
- Create public and private subnets for each `aws_zones` specified
- Provision a Internet Gateway and configure public subnets to route through it
- Provision a NAT Gateway (or use an existing Transit Gateway) and configure private subnets to route through it
- Create a DB subnet group including all private subnets
- Optionally allocate IPv6 CIDR blocks, egress-only internet gateway, and default IPv6 routesThis module is published in [Terraform Registry](https://registry.terraform.io/modules/silinternational/vpc/aws/latest).
## Usage Example
```hcl
module "this" {
source = "silinternational/vpc/aws"
version = "~> 1.0" // this may not reflect the latest version availableapp_name = var.app_name
aws_zones = var.aws_zones
}provider "aws" {
region = "us-east-1"
}
```