53 lines
950 B
HCL

variable "proxmox_image_storage" {
type = string
}
variable "proxmox_vm_storage" {
type = string
}
variable "vm_id_prefix" {
type = number
description = "Prefix for the vm ids in the cluster"
}
variable "gateway" {
type = string
default = "10.0.0.1"
}
variable "flock_name" {
type = string
}
variable "wing_names" {
type = list(string)
validation {
condition = length(var.wing_names) <= 16
error_message = "Too many wing nodes"
}
}
variable "cloud_init_file_id" {
type = string
description = "Base cloud-init template"
}
variable "cloud_image_id" {
type = string
description = "Cloud image to use"
}
variable "subnet_cidr" {
type = string
# example "10.0.185.0/24"
}
variable "dns_server_ip" {
type = string
}
variable "ssh_private_key_file" {
type = string
description = "Path to private key file. Make sure this matches the public key defined in the cloud init."
}