24 lines
404 B
Terraform
24 lines
404 B
Terraform
|
variable "nodes" {
|
||
|
type = map(object({
|
||
|
host = string
|
||
|
|
||
|
cores = optional(number, 1)
|
||
|
memory = optional(number, 512)
|
||
|
|
||
|
mac_address = optional(string)
|
||
|
bridge_ports = list(string)
|
||
|
gateway = string
|
||
|
address = string
|
||
|
|
||
|
iso_storage = string
|
||
|
boot_storage = string
|
||
|
|
||
|
iso_enabled = bool
|
||
|
}))
|
||
|
}
|
||
|
|
||
|
variable "proxmox_token" {
|
||
|
type = string
|
||
|
sensitive = true
|
||
|
}
|