-
Notifications
You must be signed in to change notification settings - Fork 5
/
variables.tf
66 lines (56 loc) · 2.02 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
variable "name" {
description = "Generic name to be given to the provisioned resources"
type = string
}
variable "tags" {
description = "Map of custom tags for the provisioned resources"
type = map(string)
default = {}
}
variable "cgw_bgp_asn" {
description = "The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN)."
type = string
}
variable "cgw_ip_address" {
description = "IP address of the client VPN endpoint"
type = string
}
variable "transit_gateway_hub_name" {
description = "Name of the Transit Gateway to attach the VPN to"
type = string
}
variable "transit_gateway_hub_account_id" {
description = "AWS account ID of Transit Gateway owner"
type = string
}
variable "static_routes_only" {
description = "Whether the VPN connection uses static routes exclusively. Static routes must be used for devices that don't support BGP"
type = bool
default = false
}
variable "static_routes_destinations" {
description = "List of CIDRs to be routed into the VPN tunnel."
type = list(string)
default = []
}
# https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_VpnTunnelOptionsSpecification.html
variable "tunnel1_inside_cidr" {
description = "A size /30 CIDR block from the 169.254.0.0/16 range"
type = string
default = null
}
variable "tunnel2_inside_cidr" {
description = "A size /30 CIDR block from the 169.254.0.0/16 range"
type = string
default = null
}
variable "tunnel1_preshared_key" {
description = "Will be stored in the state as plaintext. Must be between 8 & 64 chars and can't start with zero(0). Allowed characters are alphanumeric, periods(.) and underscores(_)"
type = string
default = null
}
variable "tunnel2_preshared_key" {
description = "Will be stored in the state as plaintext. Must be between 8 & 64 chars and can't start with zero(0). Allowed characters are alphanumeric, periods(.) and underscores(_)"
type = string
default = null
}