ingress/terraform/variables.tf
2024-09-20 21:32:17 +02:00

53 lines
824 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
sensitive = true
}
variable "proxmox_token" {
type = string
sensitive = true
}
variable "tailscale_apikey" {
type = string
sensitive = true
}
variable "authentik_token" {
type = string
sensitive = true
}