variable "cluster_name" { type = string description = "Unique cluster name" } # bare-metal variable "matchbox_http_endpoint" { type = string description = "Matchbox HTTP read-only endpoint (e.g. http://matchbox.example.com:8080)" } variable "os_channel" { type = string description = "Channel for a Flatcar Linux (flatcar-stable, flatcar-beta, flatcar-alpha, flatcar-edge)" validation { condition = contains(["flatcar-stable", "flatcar-beta", "flatcar-alpha", "flatcar-edge"], var.os_channel) error_message = "The os_channel must be flatcar-stable, flatcar-beta, flatcar-alpha, or flatcar-edge." } } variable "os_version" { type = string description = "Version of Flatcar Linux to PXE and install (e.g. 2079.5.1)" } # machines variable "controllers" { type = list(object({ name = string mac = string domain = string })) description = <