mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
Add machine variable to terraform module (#179)
* add variable machine to enable/disable secure boot * add role description
This commit is contained in:
parent
b84d8add73
commit
15e668d09b
5 changed files with 18 additions and 2 deletions
|
@ -16,7 +16,7 @@ resource "libvirt_domain" "instance_group" {
|
|||
count = var.amount
|
||||
memory = var.memory
|
||||
vcpu = var.vcpus
|
||||
machine = "q35"
|
||||
machine = var.machine
|
||||
tpm {
|
||||
backend_type = "emulator"
|
||||
backend_version = "2.0"
|
||||
|
|
|
@ -44,5 +44,11 @@ variable "boot_volume_id" {
|
|||
}
|
||||
|
||||
variable "role" {
|
||||
type = string
|
||||
type = string
|
||||
description = "role of the node in the constellation. either 'control-plane' or 'worker'"
|
||||
}
|
||||
|
||||
variable "machine" {
|
||||
type = string
|
||||
description = "machine type. use 'q35' for secure boot and 'pc' for non secure boot. See 'qemu-system-x86_64 -machine help'"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue