-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
137 lines (115 loc) · 4.5 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
#################
# TGW Attachment
#################
variable "create_attachment" {
description = "Determines whether to create tgw attachment or not."
type = bool
default = true
}
variable "create_peering_attachment" {
description = "Determines whether to create a tgw peering attachment or not."
type = bool
default = false
}
variable "create_peering_attachment_accepter" {
description = "Determines whether to create a tgw peering attachment or not."
type = bool
default = false
}
variable "vpc_id" {
description = "(Required) Identifier of EC2 VPC."
type = string
default = ""
}
variable "subnet_ids" {
description = "(Required) Identifiers of EC2 Subnets."
type = list(string)
default = [""]
}
variable "transit_gateway_id" {
description = "(Required) Identifier of EC2 Transit Gateway."
type = string
default = ""
}
variable "appliance_mode_support" {
description = "(Optional) Whether Appliance Mode support is enabled. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. Valid values: `disable`, `enable`. Default value: `disable`."
type = string
default = "disable"
}
variable "dns_support" {
description = "(Optional) Whether DNS support is `enabled`. Valid values: `disable`, `enable`. Default value: `enable`."
type = string
default = "enable"
}
variable "ipv6_support" {
description = "(Optional) Whether IPv6 support is `enabled`. Valid values: `disable`, `enable`. Default value: `disable`."
type = string
default = "disable"
}
variable "security_group_referencing_support" {
description = "(Optional) Whether Security Group Referencing support is `enabled`. Valid values: `disable`, `enable`. Default value: `disable`."
type = string
default = "disable"
}
variable "transit_gateway_default_route_table_association" {
description = "(Optional) Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`."
type = bool
default = true
}
variable "transit_gateway_default_route_table_propagation" {
description = "(Optional) Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`."
type = bool
default = true
}
variable "transit_gateway_attachments" {
description = "Map of objects that define the transit gateway attachments to be created"
type = any
default = {}
}
variable "transit_gateway_peering_attachments" {
description = "Map of objects that define the transit gateway peering attachments to be created"
type = any
default = {}
}
variable "transit_gateway_peering_attachments_accepter" {
description = "Map of objects that define the transit gateway peering attachments to be created"
type = any
default = {}
}
######################
# Route Table Routes #
######################
variable "transit_gateway_routes" {
description = "Map of objects that define the transit gateway routes to be created"
type = any
default = {}
}
variable "vpc_peering_routes" {
description = "Map of objects that define the vpc peering routes to be created"
type = any
default = {}
}
variable "nat_gateway_routes" {
description = "Map of objects that define the nat gateway routes to be created"
type = any
default = {}
}
variable "local_gateway_routes" {
description = "Map of objects that define the local gateway routes to be created"
type = any
default = {}
}
variable "network_interface_routes" {
description = "Map of objects that define the network interface routes to be created"
type = any
default = {}
}
variable "vpc_endpoint_routes" {
description = "Map of objects that define the nat gateway routes to be created"
type = any
default = {}
}
variable "tags" {
description = "(Optional) Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level."
type = map(string)
}