infrastructure/ingress.tjo.cloud/terraform/variables.tf

64 lines
923 B
Terraform
Raw Normal View History

variable "nodes" {
type = map(object({
id = number
host = string
ipv4_address = string
ipv4_gateway = string
ipv6_address = string
ipv6_gateway = string
cores = optional(number, 1)
memory = optional(number, 512)
iso_storage = string
boot_storage = string
boot_size = optional(number, 8)
}))
}
variable "zones" {
type = set(string)
}
variable "records" {
type = map(object({
to = string
ttl = optional(number, 600)
type = optional(string, "ALIAS")
}))
}
variable "ssh_keys" {
type = list(string)
}
variable "proxmox_token" {
type = string
sensitive = true
}
variable "authentik_token" {
type = string
sensitive = true
}
variable "tailscale_apikey" {
type = string
sensitive = true
}
2025-01-03 18:27:34 +00:00
variable "dnsimple_token" {
type = string
sensitive = true
}
variable "dnsimple_account_id" {
type = string
}