-
Notifications
You must be signed in to change notification settings - Fork 0
/
vpc-db-azs-module.tf
30 lines (30 loc) · 1.08 KB
/
vpc-db-azs-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
26
27
28
29
30
module "vpc" {
source = "./modules/vpc-db-azs"
###VPC###
instance-tenancy = "default"
enable-dns-support = "true"
enable-dns-hostnames = "true"
vpc-name = "infragurus-vpc"
vpc-location = "Frankfurt"
region = "eu-central-1"
internet-gateway-name = "infragurus-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"]
db-subnet-cidr = ["10.11.24.0/22","10.11.28.0/22","10.11.32.0/22"]
db-subnet-name = "db-subnets"
db-subnets-location-name = "FrankFurt"
db-route-cidr = "0.0.0.0/0"
db-route-name = "db-route"
}