generated from equinix-labs/terraform-equinix-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
122 lines (103 loc) · 2.84 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
variable "auth_token" {
type = string
description = "Your Equinix Metal API key (https://console.equinix.com/users/-/api-keys)"
sensitive = true
}
variable "project_id" {
type = string
description = "Your Equinix Metal project ID, where you want to deploy your nodes to"
}
variable "plan" {
type = string
description = "Metal server type you plan to deploy"
default = "c3.small.x86"
}
variable "operating_system" {
type = string
description = "OS you want to deploy"
default = "ubuntu_20_04"
}
variable "metro" {
type = string
description = "Metal's Metro location you want to deploy your servers to"
default = "ny"
}
variable "server_count" {
type = number
description = "numbers of backend nodes you want to deploy"
default = 1
}
variable "vlan_count" {
type = number
description = "Metal's Metro VLAN"
default = 1
}
variable "metal_asn" {
type = number
description = "Metal's local ASN"
default = 65100
}
variable "customer_asn" {
type = number
description = "Metal customer's ASN peering with Metal"
default = 100
}
variable "bgp_peer_subnet_pri" {
type = string
description = "Primary BGP peering subnet"
default = "169.254.100.0/30"
}
variable "bgp_peer_subnet_sec" {
type = string
description = "Secondary BGP peering subnet"
default = "169.254.100.8/30"
}
variable "metal_bgp_ip_pri" {
type = string
description = "Metal's Primary local BGP IP peering with customer's BGP IP"
default = "169.254.100.1"
}
variable "metal_bgp_ip_sec" {
type = string
description = "Metal's Secondary local BGP IP peering with customer's BGP IP"
default = "169.254.100.9"
}
variable "customer_bgp_ip_pri" {
type = string
description = "Customer's BGP IP Peering with metal's Primary BGP IP"
default = "169.254.100.2"
}
variable "customer_bgp_ip_sec" {
type = string
description = "Customer's BGP IP Peering with metal's Secondary BGP IP"
default = "169.254.100.10"
}
variable "gateway_count" {
type = number
description = "number of Metal Gateway"
default = 1
}
variable "dedicated_port_id" {
type = string
description = "Your Metal's dedicated fabric port's UUID. You can retrieve the UUID from Metal's portal"
default = "123456789"
}
variable "nni_vlan" {
type = number
description = "Your fabric virtual circuit's NNI VLAN connecting to your VRF"
default = 999
}
variable "ip_ranges" {
type = list(any)
description = "Your reserved IP ranges"
}
variable "bgp_md5_pri" {
type = string
description = "BGP password of primary connection"
default = null
}
variable "bgp_md5_sec" {
type = string
description = "BGP password of secondary connection"
default = null
}