working and a bit modular
This commit is contained in:
22
tf_code/variables.tf
Normal file
22
tf_code/variables.tf
Normal file
@@ -0,0 +1,22 @@
|
||||
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")
|
||||
}))
|
||||
}))
|
||||
}
|
||||
Reference in New Issue
Block a user