63 lines
923 B
HCL
63 lines
923 B
HCL
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
|
|
}
|
|
|
|
variable "dnsimple_token" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "dnsimple_account_id" {
|
|
type = string
|
|
}
|
|
|