2023-10-19 14:34:38 +02:00
|
|
|
variable "vms" {
|
|
|
|
type = map(object(
|
|
|
|
{
|
|
|
|
domain = string
|
|
|
|
cpu = number
|
|
|
|
ram = number
|
|
|
|
guest_id = string
|
|
|
|
disks = map(object({
|
|
|
|
size = string
|
|
|
|
thin_provisioned = bool
|
|
|
|
unit_number = number
|
|
|
|
}))
|
|
|
|
network_interfaces = list(object(
|
|
|
|
{
|
|
|
|
id = string
|
|
|
|
mac = string
|
|
|
|
}
|
|
|
|
))
|
|
|
|
folder = string
|
|
|
|
}
|
|
|
|
))
|
|
|
|
description = "Virtual Machines description"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "cluster" {
|
|
|
|
type = object({
|
|
|
|
datacenter_name = string
|
|
|
|
datastore_name = string
|
|
|
|
resource_pool_name = string
|
|
|
|
folder = string
|
|
|
|
vnets = map(object({
|
|
|
|
name = string
|
|
|
|
}))
|
|
|
|
}
|
|
|
|
)
|
|
|
|
description = "vSphere cluster definition"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "ovfs" {
|
|
|
|
type = map(object(
|
|
|
|
{
|
|
|
|
domain = string
|
|
|
|
allow_unverified_ssl_cert = bool
|
|
|
|
remote_ovf_url = string
|
|
|
|
disk_provisioning = string
|
|
|
|
ip_protocol = string
|
|
|
|
ip_allocation_policy = string
|
|
|
|
network_map = list(string)
|
|
|
|
vapp_properties = object({})
|
|
|
|
}
|
|
|
|
))
|
|
|
|
description = "Virtual Machines description"
|
2023-10-19 14:40:51 +02:00
|
|
|
default = {}
|
2023-10-19 14:34:38 +02:00
|
|
|
}
|