constellation/terraform/libvirt/variables.tf
leongross 15e668d09b Add machine variable to terraform module (#179)
* add variable machine to enable/disable secure boot

* add role description
2022-05-30 10:29:34 +02:00

48 lines
1.0 KiB
HCL

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"
}
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'"
}