2022-05-22 09:39:30 -04:00
|
|
|
variable "constellation_coreos_image_qcow2" {
|
|
|
|
type = string
|
|
|
|
description = "constellation OS qcow file path"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "control_plane_count" {
|
|
|
|
type = number
|
|
|
|
default = 3
|
|
|
|
description = "amount of control plane nodes"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "worker_count" {
|
|
|
|
type = number
|
|
|
|
default = 2
|
|
|
|
description = "amount of worker nodes"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "vcpus" {
|
|
|
|
type = number
|
|
|
|
default = 2
|
|
|
|
description = "amount of vcpus per instance"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "memory" {
|
|
|
|
type = number
|
|
|
|
default = 2048
|
|
|
|
description = "amount of memory per instance (MiB)"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "state_disk_size" {
|
|
|
|
type = number
|
|
|
|
default = 10
|
|
|
|
description = "size of state disk (GiB)"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "ip_range_start" {
|
|
|
|
type = number
|
|
|
|
default = 100
|
|
|
|
description = "first ip address to use within subnet"
|
|
|
|
}
|
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'"
|
|
|
|
}
|