33 lines
466 B
Terraform
33 lines
466 B
Terraform
|
variable "nodes" {
|
||
|
type = map(object({
|
||
|
name = string
|
||
|
|
||
|
host = string
|
||
|
bridge = string
|
||
|
|
||
|
cores = optional(number, 1)
|
||
|
memory = optional(number, 512)
|
||
|
|
||
|
storage = optional(string, "main")
|
||
|
boot_size = optional(number, 8)
|
||
|
|
||
|
cloudinit = string
|
||
|
}))
|
||
|
}
|
||
|
|
||
|
variable "common_storage" {
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "digitalocean_token" {
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "proxmox_token" {
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "image_path" {
|
||
|
type = string
|
||
|
}
|