mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-26 16:09:45 -05:00
4be29b04dc
* Add QEMU cloud-logging * Add QEMU metadata endpoints to collect logs during cluster boot * Send PCRs to QEMU metadata if boot fails on Azure or GCP Signed-off-by: Daniel Weiße <dw@edgeless.systems>
59 lines
1.2 KiB
HCL
59 lines
1.2 KiB
HCL
variable "constellation_coreos_image" {
|
|
type = string
|
|
description = "constellation OS file path"
|
|
}
|
|
|
|
variable "image_format" {
|
|
type = string
|
|
default = "qcow2"
|
|
description = "image format"
|
|
}
|
|
|
|
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'"
|
|
}
|
|
|
|
variable "metadata_api_log_dir" {
|
|
type = string
|
|
description = "directory to store metadata log files. This must be an absolute path"
|
|
}
|