ingress/terraform/variables.tf

45 lines
680 B
HCL

variable "nodes" {
type = map(object({
name = string
internal = optional(object({
ipv4 = string
ipv6 = string
}))
public = optional(object({
ipv4 = string
ipv6 = 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
}