https://github.com/babbel/terraform-aws-vpc
Terraform module creating a VPC, incl. Subnets, Routing, NAT Gateway, and VPC Endpoints
https://github.com/babbel/terraform-aws-vpc
aws terraform terraform-module
Last synced: 11 months ago
JSON representation
Terraform module creating a VPC, incl. Subnets, Routing, NAT Gateway, and VPC Endpoints
- Host: GitHub
- URL: https://github.com/babbel/terraform-aws-vpc
- Owner: babbel
- License: mit
- Created: 2021-01-29T08:27:08.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-07-25T11:55:02.000Z (almost 2 years ago)
- Last Synced: 2024-07-25T13:20:51.385Z (almost 2 years ago)
- Topics: aws, terraform, terraform-module
- Language: HCL
- Homepage: https://registry.terraform.io/modules/babbel/vpc/aws
- Size: 48.8 KB
- Stars: 3
- Watchers: 43
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# VPC, incl. Subnets, Routing, NAT Gateway, and VPC Endpoints
This module creates a simple VPC for a given number of availability zones.
For every availability zone, there will be pair with a public and a private subnet, incl. NAT gateway for the outgoing traffic of the private subnet.
In addition, VPC endpoints (both `Gateway` and `Interface`) can be created.
## Example Usage
```tf
module "vpc" {
source = "babbel/vpc/aws"
version = "~> 1.1"
name = "example"
cidr_block = "10.0.0.0/16"
size = 2
vpc_endpoints = {
gateway = ["dynamodb", "s3"]
interface = ["logs"]
}
}
```