2022-10-05 03:11:30 -04:00
|
|
|
variable "libvirt_uri" {
|
|
|
|
type = string
|
|
|
|
description = "libvirt socket uri"
|
|
|
|
}
|
|
|
|
|
2022-07-04 06:59:43 -04:00
|
|
|
variable "constellation_coreos_image" {
|
2022-05-22 09:39:30 -04:00
|
|
|
type = string
|
2022-07-04 06:59:43 -04:00
|
|
|
description = "constellation OS file path"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "image_format" {
|
|
|
|
type = string
|
|
|
|
default = "qcow2"
|
|
|
|
description = "image format"
|
2022-05-22 09:39:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "control_plane_count" {
|
|
|
|
type = number
|
|
|
|
description = "amount of control plane nodes"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "worker_count" {
|
|
|
|
type = number
|
|
|
|
description = "amount of worker nodes"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "vcpus" {
|
|
|
|
type = number
|
|
|
|
description = "amount of vcpus per instance"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "memory" {
|
|
|
|
type = number
|
|
|
|
description = "amount of memory per instance (MiB)"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "state_disk_size" {
|
|
|
|
type = number
|
|
|
|
description = "size of state disk (GiB)"
|
|
|
|
}
|
|
|
|
|
2022-05-30 04:29:34 -04:00
|
|
|
variable "machine" {
|
|
|
|
type = string
|
|
|
|
default = "q35"
|
|
|
|
description = "machine type. use 'q35' for secure boot and 'pc' for non secure boot. See 'qemu-system-x86_64 -machine help'"
|
|
|
|
}
|
2022-09-26 09:52:31 -04:00
|
|
|
|
2022-10-19 07:10:15 -04:00
|
|
|
variable "firmware" {
|
|
|
|
type = string
|
|
|
|
default = "/usr/share/OVMF/OVMF_CODE.secboot.fd"
|
|
|
|
description = "path to UEFI firmware file. Use \"OVMF_CODE_4M.ms.fd\" on Ubuntu and \"OVMF_CODE.secboot.fd\" on Fedora."
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "nvram" {
|
|
|
|
type = string
|
|
|
|
description = "path to UEFI NVRAM template file. Used for secure boot."
|
|
|
|
}
|
|
|
|
|
2022-09-26 09:52:31 -04:00
|
|
|
variable "metadata_api_image" {
|
|
|
|
type = string
|
|
|
|
description = "container image of the QEMU metadata api server"
|
|
|
|
}
|
|
|
|
|
2022-10-05 03:11:30 -04:00
|
|
|
variable "metadata_libvirt_uri" {
|
|
|
|
type = string
|
|
|
|
description = "libvirt uri for the metadata api server"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "libvirt_socket_path" {
|
|
|
|
type = string
|
|
|
|
description = "path to libvirt socket in case of unix socket"
|
|
|
|
}
|
|
|
|
|
2022-09-26 09:52:31 -04:00
|
|
|
variable "name" {
|
|
|
|
type = string
|
|
|
|
default = "constellation"
|
|
|
|
description = "name prefix of the cluster VMs"
|
|
|
|
}
|