-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
103 lines (86 loc) · 2.38 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
variable "account_name" {
description = "Name for AWS account side of tunnel"
type = string
}
variable "customer_bgp_asn" {
description = "BGP for customer side of tunnel"
type = number
}
variable "customer_ip_address" {
description = "IP address for customer side"
type = string
}
variable "customer_gateway_type" {
default = "ipsec.1"
description = "Type for customer gateway"
type = string
}
variable "customer_name" {
description = "Name for customer side of tunnel"
type = string
}
variable "generate_fortigate_config" {
default = true
description = "Generate a FortiGate config template (does not include PSKs)"
type = bool
}
variable "tags" {
default = {}
description = "Tags to add to supported resources"
type = map(string)
}
variable "transit_gateway_id" {
default = null
description = "Transit gateway to attach VPN to (required if `vpn_gateway_id` not set)"
type = string
}
variable "tunnel1_inside_cidr" {
default = ""
description = "Specify a Tunnel 1 inside CIDR (optional)"
type = string
}
variable "tunnel1_psk" {
default = ""
description = "Specify a Tunnel 1 PSK explicitly (optional)"
type = string
}
variable "tunnel1_psk_version" {
default = 1
description = "Version to use for PSK (increment to generate a new PSK)"
type = number
}
variable "tunnel2_inside_cidr" {
default = ""
description = "Specify a Tunnel 2 inside CIDR (optional)"
type = string
}
variable "tunnel2_psk" {
default = ""
description = "Specify a Tunnel 2 PSK explicitly (optional)"
type = string
}
variable "tunnel2_psk_version" {
default = 1
description = "Version to use for PSK (increment to generate a new PSK)"
type = number
}
variable "use_secrets_manager" {
default = true
description = "Use Secrets Manager to store/manage PSKs"
type = bool
}
variable "vgw_id" {
default = null
description = "Virtual Private Gateway to attach VPN to (required if `transit_gateway_id` not set)"
type = string
}
variable "wan_interface" {
default = "wan1"
description = "WAN interface to use in fortigate config template"
type = string
}
variable "use_tgw" {
default = false
description = "Set to true if attaching the VPN to a Transit Gateway"
type = bool
}