Files
public/Infrastrucutre as Code/Terraform/variables.tf
T
2026-06-09 10:20:07 +03:00

33 lines
814 B
Terraform

variable "vms" {
description = "Map of VMs to create"
type = map(object({
vmid = number
name = string
target_node = string
template = string
onboot = bool
cores = number
sockets = number
memory = number
bridge = string
macaddr = string
disk_size = number
disk_storage = string
ip = string
gateway = string
netmask = string
vlan = string
startup = object({
order = number
up = number
down = number
})
tags = list(string)
}))
}
variable "ansible_repo_path" {
description = "Path to the ansible repo"
type = string
}