2024-08-20 19:03:23 +00:00
|
|
|
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
|
|
|
|
}))
|
|
|
|
}
|
|
|
|
|
2024-08-24 17:42:11 +00:00
|
|
|
variable "ssh_keys" {
|
|
|
|
type = list(string)
|
|
|
|
}
|
|
|
|
|
2024-08-20 19:03:23 +00:00
|
|
|
variable "common_storage" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "digitalocean_token" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "proxmox_token" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
2024-08-23 20:03:47 +00:00
|
|
|
variable "tailscale_apikey" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
2024-08-20 19:03:23 +00:00
|
|
|
variable "image_path" {
|
|
|
|
type = string
|
|
|
|
}
|