This repository was archived by the owner on Nov 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
82 lines (69 loc) · 1.91 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
variable "application_key" {
type = string
description = "The application key to use for OVH API calls"
sensitive = true
}
variable "application_secret" {
type = string
description = "The application secret to use for OVH API calls"
sensitive = true
}
variable "consumer_key" {
type = string
description = "The consumer key to use for OVH API calls"
sensitive = true
}
variable "ovh_public_cloud_project_id" {
type = string
description = "The OVH public cloud project id"
}
variable "k8s_cluster_name" {
type = string
description = "The name to use for the cluster"
default = "my_cluster"
}
variable "k8s_cluster_region" {
type = string
description = "The region to use for the cluster"
default = "SBG5"
}
variable "k8s_cluster_version" {
type = string
description = "The version to use for the cluster"
default = "1.26"
}
variable "k8s_nodepool_name" {
type = string
description = "The name to use for the nodepool"
default = "default-pool"
}
variable "k8s_nodepool_flavor" {
type = string
description = "The flavor to use for the nodepool"
default = "d2-8"
}
variable "k8s_nodepool_monthly_billed" {
type = bool
description = "Whether the nodepool should be billed monthly or hourly"
default = false
}
variable "k8s_nodepool_min_nodes" {
type = number
description = "The minimum number of nodes to use for the nodepool"
default = 2
}
variable "k8s_nodepool_max_nodes" {
type = number
description = "The maximum number of nodes to use for the nodepool"
default = 10
}
variable "k8s_nodepool_desired_nodes" {
type = number
description = "The desired number of nodes to use for the nodepool"
default = 2
}
variable "k8s_nodepool_autoscale" {
type = bool
description = "Enable autoscaling feature (WIP)"
default = false
}