jetbrains-infra / terraform-aws-vpc-with-private-subnets-and-nat

VPC with public/private subnets with internet access over NAT
Apache License 2.0
27 stars 24 forks source link

About

Terraform module to bootstrap AWS VPC.

Features:

Networks:

Usage

Minimal setup: VPC, NAT gw, w/o rds subnets, w/o multiAZ support

module "project_vpc" {
  source            = "github.com/jetbrains-infra/terraform-aws-vpc-with-private-subnets-and-nat"
  project           = "myproject" // required
}

All options with default values:

module "project_vpc" {
  source            = "github.com/jetbrains-infra/terraform-aws-vpc-with-private-subnets-and-nat"
  project           = "myproject" // required
  multi_az          = false
  rds               = false
  nat_mode          = "gateway" // or "instance"
  nat_instance_type = "t2.small"
}

Outputs