-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
61 lines (58 loc) · 1.6 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
# Environment
variable "name" {
description = "Name of the environment"
type = string
default = "dev"
}
variable "deploy_hccm" {
description = "Deploy hcloud-cloud-controller-manager through Helm"
type = bool
default = true
}
variable "deploy_csi_driver" {
description = "Deploy the csi-driver through Helm"
type = bool
default = false
}
variable "use_cloud_routes" {
description = "Use the Hetzner Cloud network routes for Pod traffic. Enables hcloud-cloud-controller-manager routes controller and Cilium native routing. Does not work with Robot servers."
type = bool
default = true
}
variable "worker_count" {
description = "Number of worker for the environment"
type = number
default = 1
}
# Hetzner Cloud
variable "hcloud_token" {
description = "Hetzner Cloud API token"
type = string
sensitive = true
}
variable "hcloud_server_type" {
description = "Hetzner Cloud Server Type used for the environment"
type = string
default = "cpx21"
}
variable "hcloud_location" {
description = "Hetzner Cloud Location used for the environment"
type = string
default = "hel1"
}
variable "hcloud_image" {
description = "Hetzner Cloud Image used for the environment"
type = string
default = "ubuntu-24.04"
}
variable "hcloud_labels" {
description = "Additional labels that are added to all Hetzner Cloud resources"
type = map(string)
default = {}
}
# K3S
variable "k3s_channel" {
description = "k3S channel used for the environment"
type = string
default = "stable"
}