-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
140 lines (114 loc) · 2.87 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
variable "nodes_name" {
type = string
default = "pds-demo"
description = "Name of the equinix metal machines"
}
variable "account_id" {
type = string
default = "db4652ee-8937-47b2-952d-3b883fd2cb33"
description = "Account id of PDS"
}
variable "tenant_id" {
type = string
default = "null"
description = "Tenant id of PDS account"
}
variable "pds_token" {
type = string
default = "null"
description = "Bearer token from PDS account page"
}
#variable "helm_version" {
# type = string
# default = "1.10.4"
# description = "Helm version used during PDS install."
#}
variable "pds_name" {
type = string
default = "pds-demo-from-terraform"
description = "Target Deployment name for cluster in PDS"
}
variable "px_security" {
type = string
default = "false"
description = "Enable security for portworx or not"
}
variable "ssh_user" {
type = string
default = "root"
description = "Username to connect baremetals"
}
variable "cp_node_count" {
type = number
default = 1
description = "Number of control plane nodes in k8s cluster"
}
variable "kubespray_version" {
type = string
default = "2.20"
description = "Version for Kubespray"
}
variable "px_operator_version" {
type = string
default = "1.10.1"
description = "Version for Portworx Operator"
}
variable "k8s_version" {
type = string
default = "v1.23.0"
description = "Version for K8s"
}
variable "px_stg_version" {
type = string
default = "2.12.0"
description = "Version for Portworx Storage Cluster"
}
variable "cluster_name" {
type = string
default = "px-cluster"
description = "Name of the portworx cluster"
}
variable "metal_auth_token" {
type = string
description = "Equinix Metal API Key"
}
variable "metal_project_id" {
type = string
default = "5422f1fc-2147-43d9-9eef-696b50c80adf"
description = "Equinix Metal Project ID"
}
variable "metal_organization_id" {
type = string
default = "null"
description = "Equinix Metal Organization ID"
}
variable "hostname" {
type = string
default = "pds-baremetal"
description = "Hostname for the nodes"
}
variable "metro" {
type = string
default = "da"
description = "Equinix Metal Metro to deploy into"
}
variable "node_plan" {
type = string
default = "n2.xlarge.x86" #c3.medium.x86 #m3.large.x86
description = "Equinix Metal device type to deploy nodes"
}
variable "nodes_count" {
type = number
default = 4
description = "Number of baremetal nodes"
}
variable "operating_system" {
type = string
default = "rhel_8"
description = "The Operating system of the node"
}
variable "billing_cycle" {
type = string
default = "hourly"
description = "How the node will be billed (Not usually changed)"
}