This repository has been archived by the owner on Jul 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
69 lines (58 loc) · 1.9 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
variable "description" {
description = "Description of the Transit Gateway"
type = string
default = ""
}
variable "amazon_side_asn" {
description = "The Autonomous System Number (ASN) for the Amazon side of the gateway. By default the TGW is created with the current default Amazon ASN."
type = string
default = "64512"
}
variable "enable_default_route_table_association" {
description = "Whether resource attachments are automatically associated with the default association route table"
type = bool
default = true
}
variable "enable_default_route_table_propagation" {
description = "Whether resource attachments automatically propagate routes to the default propagation route table"
type = bool
default = true
}
variable "enable_auto_accept_shared_attachments" {
description = "Whether resource attachment requests are automatically accepted"
type = bool
default = false
}
variable "enable_dns_support" {
description = "Should be true to enable DNS support in the TGW"
type = bool
default = true
}
variable "enable_vpn_ecmp_support" {
description = "Whether VPN Equal Cost Multipath Protocol support is enabled"
type = bool
default = true
}
# VPC attachments
variable "vpc_attachments" {
description = "Maps of maps of VPC details to attach to TGW."
type = any
default = {}
}
# Transit Gateway Blackhole Routes
variable "transit_gateway_blackhole_routes" {
type = list(string)
default = []
}
# TGW Route Table association and propagation
variable "transit_gateway_route_table_id" {
description = "Identifier of EC2 Transit Gateway Route Table to use with the Target Gateway when reusing it between multiple TGWs"
type = string
default = null
}
# Tags
variable "tags" {
description = "A map of tags to add to all resources"
type = map(string)
default = {}
}