infrastructure/modules/talos-node/variables.tf

26 lines
728 B
Terraform
Raw Normal View History

2025-10-28 22:45:12 +01:00
variable "node" {
2025-11-15 20:49:31 +01:00
description = "Basic configuration for the Talos node"
2025-10-28 22:45:12 +01:00
type = object({
2025-11-15 20:49:31 +01:00
id = number
2025-12-15 16:15:11 +01:00
type = string
2025-11-15 20:49:31 +01:00
name = string
ipv4_address = string
ipv4_gateway = string
cpu = number
gpu = optional(bool, false)
2025-11-15 20:49:31 +01:00
memory = number
disk = string
storagepool = string
talos_version = string
cluster_name = string
kubernetes_version = string
cluster_endpoint = string
proxmox_node = string
2025-10-28 22:45:12 +01:00
})
}
2025-11-15 20:49:31 +01:00
variable "pvc_disks" {
description = "List of extra disks to attach to the node"
type = list(number)
default = []
}