40 lines
562 B
HCL
40 lines
562 B
HCL
variable "nodes" {
|
|
type = map(object({
|
|
name = string
|
|
|
|
host = string
|
|
bridge = string
|
|
|
|
cores = optional(number, 1)
|
|
memory = optional(number, 512)
|
|
|
|
storage = optional(string, "main")
|
|
boot_size = optional(number, 8)
|
|
|
|
cloudinit = string
|
|
}))
|
|
}
|
|
|
|
variable "ssh_keys" {
|
|
type = list(string)
|
|
}
|
|
|
|
variable "common_storage" {
|
|
type = string
|
|
}
|
|
|
|
variable "digitalocean_token" {
|
|
type = string
|
|
}
|
|
|
|
variable "proxmox_token" {
|
|
type = string
|
|
}
|
|
|
|
variable "tailscale_apikey" {
|
|
type = string
|
|
}
|
|
|
|
variable "image_path" {
|
|
type = string
|
|
}
|