169163334 - Adds Virtual Network Gateway for VPN

The Virtual Network Gateway is required for OpenVPN connectivity. The
change to the VPC module also adds a subnet which is exclusively used
for the Gateway.
This commit is contained in:
Rob Gil
2019-12-19 22:33:27 -05:00
parent 54ba6586d2
commit 866b789b6c
4 changed files with 62 additions and 8 deletions

View File

@@ -31,6 +31,12 @@ variable "networks" {
}
}
variable "gateway_subnet" {
type = string
default = "10.1.20.0/24"
}
variable "route_tables" {
description = "Route tables and their default routes"
type = map

View File

@@ -4,6 +4,7 @@ module "vpc" {
region = var.region
virtual_network = var.virtual_network
networks = var.networks
gateway_subnet = var.gateway_subnet
route_tables = var.route_tables
owner = var.owner
name = var.name