Files
homelab-infrastructure/infra/variables.tofu
T
2026-06-17 22:31:40 +01:00

19 lines
452 B
HCL

variable "cpus" {
description = "The number of CPU cores allocated to each virtual machine."
type = number
default = 2
nullable = false
validation {
condition = var.cpus >= 1
error_message = "Allocated CPUs must be equal to or greater than 1."
}
}
variable "memory" {
description = "The amount of memory allocated to each virtual machine."
type = string
default = "4GiB"
nullable = false
}