-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathvariables.tf
106 lines (81 loc) · 2.2 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
###############################
# Equinix Metal Variables
###############################
variable "equinix_metal_api_key" {
description = "Equinix Metal API Key"
}
variable "cluster_name" {
description = "Platform 9 Cluster name"
default = "platform9-on-equinix-metal"
}
variable "project_name" {
description = "Equinix Metal Project name"
default = "platform9-on-equinix-metal"
}
variable "equinix_metal_org_id" {
description = "Equinix Metal Organization ID (found on the General tab of the Organizations Settings page)"
}
variable "bgp_asn" {
description = "Equinix Metal BGP ASN"
default = 65000
}
variable "master_size" {
description = "Equinix Metal device plan for the control plane nodes"
default = "c3.small.x86"
}
variable "worker_size" {
description = "Equinix Metal device plan for the control worker nodes"
default = "c3.small.x86"
}
variable "operating_system" {
description = "Operating System to be deployed on Equinix Metal device nodes"
default = "ubuntu_18_04"
}
variable "billing_cycle" {
default = "hourly"
}
variable "master_count" {
description = "Control plan size (3 for HA, 1 minimum)"
default = 1
}
variable "worker_count" {
description = "Worker node pool size (0 minimum, the control plane can act as workers with allow_workloads_on_master enabled)"
default = 0
}
###############################
# Platform9 Variables
###############################
variable "platform9_fqdn" {
description = "Platform9 FQDN (example: pmkft-1234567890-09876.platform9.io)"
}
variable "platform9_user" {
description = "Platform9 account email"
}
variable "platform9_password" {
description = "Platform9 account password"
}
variable "platform9_tenant" {
default = "service"
}
variable "platform9_region" {
default = "RegionOne"
}
variable "hostagent_installer_type" {
default = ""
}
variable "hostagent_install_failure_webhook" {
default = ""
}
variable "hostagent_install_options" {
default = ""
}
variable "http_proxy" {
default = ""
}
variable "is_spot_instance" {
default = false
}
variable "allow_workloads_on_master" {
description = "Wether or not the control plane nodes should run workloads"
default = true
}