forked from terraform-aws-modules/terraform-aws-vpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
241 lines (195 loc) · 6.13 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
variable "create_vpc" {
description = "Controls if VPC should be created (it affects almost all resources)"
default = true
}
variable "name" {
description = "Name to be used on all the resources as identifier"
default = ""
}
variable "cidr" {
description = "The CIDR block for the VPC"
default = ""
}
variable "instance_tenancy" {
description = "A tenancy option for instances launched into the VPC"
default = "default"
}
variable "public_subnets" {
description = "A list of public subnets inside the VPC"
default = []
}
variable "private_subnets" {
description = "A list of private subnets inside the VPC"
default = []
}
variable "database_subnets" {
type = "list"
description = "A list of database subnets"
default = []
}
variable "redshift_subnets" {
type = "list"
description = "A list of redshift subnets"
default = []
}
variable "elasticache_subnets" {
type = "list"
description = "A list of elasticache subnets"
default = []
}
variable "create_database_subnet_group" {
description = "Controls if database subnet group should be created"
default = true
}
variable "azs" {
description = "A list of availability zones in the region"
default = []
}
variable "enable_dns_hostnames" {
description = "Should be true to enable DNS hostnames in the VPC"
default = false
}
variable "enable_dns_support" {
description = "Should be true to enable DNS support in the VPC"
default = true
}
variable "enable_nat_gateway" {
description = "Should be true if you want to provision NAT Gateways for each of your private networks"
default = false
}
variable "single_nat_gateway" {
description = "Should be true if you want to provision a single shared NAT Gateway across all of your private networks"
default = false
}
variable "reuse_nat_ips" {
description = "Should be true if you don't want EIPs to be created for your NAT Gateways and will instead pass them in via the 'external_nat_ip_ids' variable"
default = false
}
variable "external_nat_ip_ids" {
description = "List of EIP IDs to be assigned to the NAT Gateways (used in combination with reuse_nat_ips)"
type = "list"
default = []
}
variable "enable_dynamodb_endpoint" {
description = "Should be true if you want to provision a DynamoDB endpoint to the VPC"
default = false
}
variable "enable_s3_endpoint" {
description = "Should be true if you want to provision an S3 endpoint to the VPC"
default = false
}
variable "map_public_ip_on_launch" {
description = "Should be false if you do not want to auto-assign public IP on launch"
default = true
}
variable "enable_vpn_gateway" {
description = "Should be true if you want to create a new VPN Gateway resource and attach it to the VPC"
default = false
}
variable "vpn_gateway_id" {
description = "ID of VPN Gateway to attach to the VPC"
default = ""
}
variable "propagate_private_route_tables_vgw" {
description = "Should be true if you want route table propagation"
default = false
}
variable "propagate_public_route_tables_vgw" {
description = "Should be true if you want route table propagation"
default = false
}
variable "tags" {
description = "A map of tags to add to all resources"
default = {}
}
variable "vpc_tags" {
description = "Additional tags for the VPC"
default = {}
}
variable "public_subnet_tags" {
description = "Additional tags for the public subnets"
default = {}
}
variable "private_subnet_tags" {
description = "Additional tags for the private subnets"
default = {}
}
variable "default_route_table_tags" {
description = "Additional tags for the default route table"
default = {}
}
variable "public_route_table_tags" {
description = "Additional tags for the public route tables"
default = {}
}
variable "private_route_table_tags" {
description = "Additional tags for the private route tables"
default = {}
}
variable "database_subnet_tags" {
description = "Additional tags for the database subnets"
default = {}
}
variable "redshift_subnet_tags" {
description = "Additional tags for the redshift subnets"
default = {}
}
variable "elasticache_subnet_tags" {
description = "Additional tags for the elasticache subnets"
default = {}
}
variable "dhcp_options_tags" {
description = "Additional tags for the DHCP option set"
default = {}
}
variable "enable_dhcp_options" {
description = "Should be true if you want to specify a DHCP options set with a custom domain name, DNS servers, NTP servers, netbios servers, and/or netbios server type"
default = false
}
variable "dhcp_options_domain_name" {
description = "Specifies DNS name for DHCP options set"
default = ""
}
variable "dhcp_options_domain_name_servers" {
description = "Specify a list of DNS server addresses for DHCP options set, default to AWS provided"
type = "list"
default = ["AmazonProvidedDNS"]
}
variable "dhcp_options_ntp_servers" {
description = "Specify a list of NTP servers for DHCP options set"
type = "list"
default = []
}
variable "dhcp_options_netbios_name_servers" {
description = "Specify a list of netbios servers for DHCP options set"
type = "list"
default = []
}
variable "dhcp_options_netbios_node_type" {
description = "Specify netbios node_type for DHCP options set"
default = ""
}
variable "manage_default_vpc" {
description = "Should be true to adopt and manage Default VPC"
default = false
}
variable "default_vpc_name" {
description = "Name to be used on the Default VPC"
default = ""
}
variable "default_vpc_enable_dns_support" {
description = "Should be true to enable DNS support in the Default VPC"
default = true
}
variable "default_vpc_enable_dns_hostnames" {
description = "Should be true to enable DNS hostnames in the Default VPC"
default = false
}
variable "default_vpc_enable_classiclink" {
description = "Should be true to enable ClassicLink in the Default VPC"
default = false
}
variable "default_vpc_tags" {
description = "Additional tags for the Default VPC"
default = {}
}