generated from equinix-labs/terraform-equinix-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
41 lines (37 loc) · 934 Bytes
/
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
# Module Vars
variable "metal_auth_token" {
description = "Equinix Metal user api token."
type = string
sensitive = true
}
variable "metal_organization_id" {
type = string
description = "Equinix Metal organization id"
}
variable "enable_workshop_setup" {
type = bool
description = "Enable Workshop Setup module"
default = true
}
variable "enable_k8s" {
type = bool
description = "Enable EKSA module"
default = true
}
variable "k8s_config" {
description = "Module configuration for k8s module"
type = object({
kube_vip_version = string
kubernetes_version = string
ssh_private_key_path = string
cp_ha = bool
worker_host_count = number
})
default = {
kube_vip_version = "v0.6.2"
kubernetes_version = "v1.27.5"
ssh_private_key_path = ""
cp_ha = true
worker_host_count = 1
}
}