2021-02-26 12:20:15 +00:00
|
|
|
## Global ##
|
|
|
|
variable "prefix" {}
|
|
|
|
|
|
|
|
variable "machines" {
|
|
|
|
description = "Cluster machines"
|
|
|
|
type = map(object({
|
|
|
|
node_type = string
|
2021-11-12 19:40:29 +00:00
|
|
|
ip = string
|
|
|
|
netmask = string
|
2021-02-26 12:20:15 +00:00
|
|
|
}))
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "gateway" {}
|
|
|
|
variable "dns_primary" {}
|
|
|
|
variable "dns_secondary" {}
|
|
|
|
variable "pool_id" {}
|
|
|
|
variable "datastore_id" {}
|
|
|
|
variable "guest_id" {}
|
|
|
|
variable "scsi_type" {}
|
|
|
|
variable "network_id" {}
|
2022-01-25 13:24:30 +00:00
|
|
|
variable "interface_name" {}
|
2021-02-26 12:20:15 +00:00
|
|
|
variable "adapter_type" {}
|
|
|
|
variable "disk_thin_provisioned" {}
|
|
|
|
variable "template_id" {}
|
2022-01-25 13:24:30 +00:00
|
|
|
variable "vapp" {
|
|
|
|
type = bool
|
|
|
|
}
|
2021-02-26 12:20:15 +00:00
|
|
|
variable "firmware" {}
|
|
|
|
variable "folder" {}
|
|
|
|
variable "ssh_public_keys" {
|
|
|
|
type = list(string)
|
|
|
|
}
|
|
|
|
variable "hardware_version" {}
|
|
|
|
|
|
|
|
## Master ##
|
|
|
|
variable "master_cores" {}
|
|
|
|
variable "master_memory" {}
|
|
|
|
variable "master_disk_size" {}
|
|
|
|
|
|
|
|
## Worker ##
|
|
|
|
variable "worker_cores" {}
|
|
|
|
variable "worker_memory" {}
|
|
|
|
variable "worker_disk_size" {}
|