Terraform module to create empty VPC.
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."
}
}
id
- vpc iddefault_route_table_id
- ID of VPC default route tabledefault_security_group_id
- ID of VPC default security group