-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
91 lines (68 loc) · 1.81 KB
/
variables.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
variable "region" {
description = "Region of the VPC, eg. eu-central-1"
}
variable "vpc_cidr_block" {
description = "CIDR block for a vpc, eg. 10.100.0.0/16"
}
variable "public_subnets_cidr_block" {
description = "CIDR block for public subnets"
type = "list"
}
variable "private_subnets_cidr_block" {
description = "CIDR block for private subnets"
type = "list"
}
variable "name" {
description = "Name used in tagging of resources"
type = "string"
default = ""
}
variable "map_public_ip_on_launch" {
description = "Map public ip on EC2 instance launch"
default = false
}
variable "azs_mapping" {
description = "Mapping of region to availability zones"
type = "map"
# Last update: August 27 2018
default = {
# US, North Virginia
us-east-1 = "a,b,c,d,e,f"
# US, Ohio
us-east-2 = "a,b,c"
# US, North California
us-west-1 = "a,b" # Two zones for new customers, there are three in total
# US, Oregon
us-west-2 = "a,b,c"
# Mumbai
ap-south-1 = "a,b"
# South Korea, Seoul (no B zone?)
ap-northeast-2 = "a,c"
# Singapore
ap-southeast-1 = "a,b,c"
# AU, Sydney
ap-southeast-2 = "a,b,c"
# Tokyo
ap-northeast-1 = "a,c,d"
# Canada
ca-central-1 = "a,b"
# DE, Frankfurt
eu-central-1 = "a,b,c"
# Ireland
eu-west-1 = "a,b,c"
# UK, London
eu-west-2 = "a,b,c"
# FR, Paris
eu-west-3 = "a,b,c"
# São Paulo
sa-east-1 = "a,c" # Two zones for new customers, there are three in total
}
}
variable "enable_dns_hostnames" {
description = "A boolean flag to enable/disable DNS hostnames in the VPC"
default = true
}
variable "enable_dns_support" {
description = "A boolean flag to enable/disable DNS support in the VPC. Defaults true."
default = true
}