mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
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
20 lines
349 B
Terraform
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")
|
|
})
|
|
)
|
|
}
|