-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathvariables.tf
38 lines (32 loc) · 941 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
variable "machines" {
type = list(string)
description = "Machine names, corresponding to machine-NAME.yaml.tmpl files"
}
variable "cluster_name" {
type = string
description = "Cluster name used as prefix for the machine names"
}
variable "ssh_keys" {
type = list(string)
default = []
description = "Additional SSH public keys for user 'core'."
}
variable "server_type" {
type = string
default = "cx11"
description = "The server type to rent."
}
variable "location" {
type = string
default = "fsn1"
description = "The Hetzner region code for the region to deploy to."
}
variable "release_channel" {
type = string
description = "Release channel"
default = "stable"
validation {
condition = contains(["lts", "stable", "beta", "alpha"], var.release_channel)
error_message = "release_channel must be lts, stable, beta, or alpha."
}
}