Add machine variable to terraform module (#179)

* add variable machine to enable/disable secure boot

* add role description
This commit is contained in:
leongross 2022-05-30 10:29:34 +02:00 committed by GitHub
parent b84d8add73
commit 15e668d09b
5 changed files with 18 additions and 2 deletions

View file

@ -23,6 +23,7 @@ module "control_plane" {
network_id = libvirt_network.constellation.id
pool = libvirt_pool.cluster.name
boot_volume_id = libvirt_volume.constellation_coreos_image.id
machine = var.machine
}
module "worker" {
@ -37,6 +38,7 @@ module "worker" {
network_id = libvirt_network.constellation.id
pool = libvirt_pool.cluster.name
boot_volume_id = libvirt_volume.constellation_coreos_image.id
machine = var.machine
}
resource "libvirt_pool" "cluster" {