-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathvariables.tf
161 lines (127 loc) · 3.8 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
variable "tgw_amazon_side_asn" {
description = "ASN of AWS Side of a BGP Session"
default = "64512"
}
variable "tgw_auto_accept_shared_attachments" {
description = "Whether resource requests are automatically accepted"
default = "disable"
}
variable "tgw_default_route_table_association" {
description = "Whether resource attachments are automatically associated with the default association route table"
default = "disable"
}
variable "tgw_default_route_table_propagation" {
description = "Whether resource attachments automatically propagate routes to the default propagation route table"
default = "disable"
}
variable "tgw_gateway_description" {
description = "Description of the Gateway"
default = ""
}
variable "create_tgw" {
description = "Create a transit gateway or not"
default = true
}
variable "share_tgw" {
description = "Share the Gateway using AWS RAM resource"
default = false
}
variable "tgw_id" {
description = "Provide a TGW To use"
default = ""
}
variable "tgw_arn" {
description = "Provide a TGW ARN works in conjunction with share_transit_gateway"
default = ""
}
variable "tgw_dns_support" {
description = "Whether DNS support is enabled"
default = "enable"
}
variable "tgw_tags" {
description = "Key Value Tags for the EC2 Transit Gateway"
default = {}
type = map(string)
}
variable "tgw_vpn_ecmp_support" {
description = "Whether VPN Equal Cost Multipath protocol is enabled"
default = "disable"
}
variable "attach_to_vpc" {
description = "Attach the transit gateway to a VPC"
default = false
}
variable "vpc_id" {
description = "VPC ID to attach gateway to"
default = ""
}
variable "subnet_ids" {
description = "List of Subnet IDS for Gateway Attachment when attachment is for VPC"
default = []
type = list(string)
}
variable "default_tags" {
description = "Default Tags which are merged into resource tags"
default = {}
type = map(string)
}
variable "route_table_tags" {
description = "Key Value tags for EC2 Transit Gateway Route table"
default = {}
type = map(string)
}
variable "ram_share_tags" {
description = "Tags for RAM Resource Share"
default = {}
type = map(string)
}
variable "ram_share_name" {
description = "Name of the RAM Resource Share"
default = ""
}
variable "tgw_route" {
description = "List of CIDR blocks to add to a transit gateway route table"
default = []
type = list(string)
}
variable "tgw_route_table_association" {
description = "TGW default Route association"
default = false
}
variable "tgw_route_table_propagation" {
description = "TGW Default Route properation"
default = false
}
variable "create_tgw_route_table" {
description = "Whether to create a route table associated with TGW"
default = false
}
variable "use_cross_account_tgw_route_table" {
description = "Whether to associate Transit Gateawy Route Table in different account with the VPC Attachment created here"
default = false
}
variable "alt_tgw_route_table_id" {
description = "ID of TGW Route Table cross account. Also used as RTB to add routes to."
default = ""
}
variable "add_tgw_route_table_association" {
description = "Whether to associate TGW Route Table with an attachment"
default = false
}
variable "add_tgw_route_table_propagation" {
description = "Whether to associate TGW Route Table with an attachment"
default = false
}
variable "tgw_attachment_id" {
description = "ID of TGW Attachment to associate or propagate with Route Table"
default = ""
}
variable "create_tgw_routes" {
description = "Whether to create tgw routes."
default = false
}
variable "tgw_prefix_list" {
description = "Prefix lists to add to TGW route table"
type = list(string)
default = []
}