23 lines
563 B
HCL
23 lines
563 B
HCL
variable "PROXMOX_VE_ENDPOINT" {
|
|
type = string
|
|
default = "https://FQDN/api2/json"
|
|
}
|
|
|
|
variable "PROXMOX_VE_API_TOKEN" {
|
|
type = string
|
|
default = "user@pam!token-name=xxx-xxx-xxx-xxx"
|
|
}
|
|
|
|
variable "unciel_eu" {
|
|
description = "Parent map key is container hostname. mount_points map key is container's path mount_point."
|
|
type = map(object({
|
|
vm_id = number
|
|
memory = optional(number, 512)
|
|
tags = optional(set(string))
|
|
mount_points = map(object({
|
|
size = optional(string, "2G")
|
|
volume = optional(string, "local-lvm")
|
|
}))
|
|
}))
|
|
}
|