/terraform-aws-vpc

Terraform module to create empty VPC.

Primary LanguageHCLApache License 2.0Apache-2.0

About

Terraform module to create empty VPC.

Usage

Minimal setup:

module "vpc" {
  source = "github.com/jetbrains-infra/terraform-aws-vpc"
  name   = "MyVPC" // required
}

All options with default values:

module "vpc" {
  source        = "github.com/jetbrains-infra/terraform-aws-vpc"
  name          = "MyVPC" // required
  cidr_block    = "10.0.0.0/22"
  dns_support   = true
  dns_hostnames = true     
  tags          = {
    Owner    = "Don John",
    Project  = "Alice"
    Customer = "Umbrella Corp."
  } 
}

Outputs

  • id - vpc id
  • default_route_table_id - ID of VPC default route table
  • default_security_group_id - ID of VPC default security group