forked from equinix-labs/terraform-metal-vyos-router
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
97 lines (81 loc) · 2.26 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
variable "auth_token" {
type = string
description = "Equinix Metal API Key"
}
variable "project_id" {
type = string
description = "The project id to deploy into"
}
variable "ipsec_peer_public_ip" {
type = string
description = "Public IP of the router you're creating the VPN with"
}
variable "hostname" {
type = string
default = "edge-router"
description = "Hostname for router"
}
variable "metro" {
type = string
default = "DC"
description = "Equinix Metal Facility to deploy into"
}
variable "plan" {
type = string
default = "c3.small.x86"
description = "Equinix Metal device type to deploy"
}
variable "operating_system" {
type = string
description = "The Operating system of the node (This needs to be (custom_ipxe)"
default = "custom_ipxe"
}
variable "ipxe_script_url" {
type = string
default = "http://pxe.vyos.io/?uid=742e1f49-e756-4743-a293-5df768728a58&variant=vyos_packet&version=1.3.0-20220120155620"
description = "Location of VyOS iPXE script"
}
variable "always_pxe" {
type = bool
default = false
description = "Whether to always boot via iPXE or not."
}
variable "billing_cycle" {
description = "How the node will be billed (Not usually changed)"
default = "hourly"
}
variable "bgp_local_asn" {
type = number
default = 65000
description = "Local BGP ASN"
}
variable "bgp_neighbor_asn" {
type = number
default = 65100
description = "Neighbor BGP ASN"
}
variable "ipsec_private_cidr" {
type = string
default = "169.254.254.252/30"
description = "IPSec IPs used for BGP peering (/30 usually)"
}
variable "neighbor_short_name" {
type = string
default = "Equinix"
description = "Friendly name of who you are peering with"
}
variable "private_net_cidr" {
type = string
default = "172.31.254.0/24"
description = "Private IP Space used for Equinix Metal Devices that will be advertized via BGP (/30 or greater)"
}
variable "public_dns_1_ip" {
type = string
default = "8.8.8.8"
description = "Public DNS Name Server 1"
}
variable "public_dns_2_ip" {
type = string
default = "8.8.4.4"
description = "Public DNS Name Server 2"
}