Files
homelab-v/tofu/kubernetes/bootstrap/volumes/variables.tf
T
Vegard Hagen 737e047c8e refactor(tofu): extract variables into their own files
The .tfvars files are normally gitignored, but they serve as an example here. Just need to make sure I don't commit a secret...

Inpired by #236
2025-03-23 17:19:46 +01:00

20 lines
349 B
Terraform

variable "proxmox_api" {
type = object({
endpoint = string
insecure = bool
cluster_name = string
})
}
variable "volumes" {
type = map(
object({
node = string
size = string
storage = optional(string, "local-zfs")
vmid = optional(number, 9999)
format = optional(string, "raw")
})
)
}