-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
46 lines (41 loc) · 1.24 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
variable "name" {
type = string
description = "Kubernetes cluster name"
}
variable "description" {
type = string
description = "A brief description of the Kubernetes cluster."
default = null
}
variable "kubernetes_version" {
type = string
description = "The native Kubernetes version of the cluster. Please specify the Kubernetes version using the standard 'vX.Y.Z' format."
default = null
}
variable "enabled_bastion" {
type = bool
description = "Enables the use of a bastion host for secure access to the cluster."
}
variable "enabled_server_group" {
type = bool
description = "Enables the use of a server group with anti-affinity policy during the creation of the cluster and its node pools."
default = false
}
variable "node_pools" {
type = list(object({
name = string
flavor = string
replicas = number
auto_scale = optional(object({
max_replicas = optional(number)
min_replicas = optional(number)
}))
tags = optional(list(string))
taints = optional(list(object({
effect = string
key = string
value = string
})))
}))
description = " An array representing a set of nodes within a Kubernetes cluster."
}