-
Notifications
You must be signed in to change notification settings - Fork 102
/
vpc-module.tf
25 lines (25 loc) · 902 Bytes
/
vpc-module.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module "vpc" {
source = "./modules/vpc"
###VPC###
instance-tenancy = "default"
enable-dns-support = "true"
enable-dns-hostnames = "true"
vpc-name = "cloudgeeks-vpc"
vpc-location = "Frankfurt"
region = "eu-central-1"
internet-gateway-name = "cloudgeeks-igw"
map_public_ip_on_launch = "true"
public-subnets-name = "public-subnets"
public-subnets-location = "Frankfurt"
public-subnet-routes-name = "public-subnet-routes"
private-subnets-location-name = "Frankfurt"
private-subnet-name = "private-subnets"
total-nat-gateway-required = "1"
eip-for-nat-gateway-name = "eip-nat-gateway"
nat-gateway-name = "nat-gateway"
private-route-cidr = "0.0.0.0/0"
private-route-name = "private-route"
vpc-cidr = "10.11.0.0/16"
vpc-public-subnet-cidr = ["10.11.1.0/24","10.11.2.0/24","10.11.3.0/24"]
vpc-private-subnet-cidr = ["10.11.4.0/24","10.11.5.0/24","10.11.6.0/24"]
}