42 lines
No EOL
822 B
HCL
42 lines
No EOL
822 B
HCL
variable "hcloud_token" {
|
|
sensitive = true
|
|
}
|
|
|
|
variable "k3s_token" {
|
|
sensitive = true
|
|
}
|
|
|
|
variable "vms" {
|
|
type = map(object({
|
|
node_type = string
|
|
server_type = string
|
|
backups = bool
|
|
private_ip = string
|
|
}))
|
|
}
|
|
|
|
variable "k3os_workers" {
|
|
type = map(object({
|
|
node_type = string
|
|
server_type = string
|
|
backups = bool
|
|
private_ip = string
|
|
}))
|
|
}
|
|
|
|
variable "ssh_keys" {
|
|
type = list(string)
|
|
default = []
|
|
description = "Additional SSH public keys for user 'core'."
|
|
}
|
|
|
|
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."
|
|
}
|
|
} |