diff --git a/bootstrap.tf b/bootstrap.tf index 852cb22..52eb3d1 100644 --- a/bootstrap.tf +++ b/bootstrap.tf @@ -31,7 +31,7 @@ resource "libvirt_domain" "bootstrap" { coreos_ignition = libvirt_ignition.bootstrap_ignition.id qemu_agent = true - cpu = { + cpu { mode = "host-passthrough" } diff --git a/lb.tf b/lb.tf index f9f7b7c..b107adf 100644 --- a/lb.tf +++ b/lb.tf @@ -46,7 +46,7 @@ resource "libvirt_domain" "lb" { autostart = false qemu_agent = true - cpu = { + cpu { mode = "host-passthrough" } diff --git a/main.tf b/main.tf index 083ec5a..7b1b7a6 100644 --- a/main.tf +++ b/main.tf @@ -1,9 +1,9 @@ terraform { - required_version = ">= 0.13" + required_version = ">= 1.0" required_providers { libvirt = { source = "dmacvicar/libvirt" - version = ">=0.6.3" + version = ">=0.6.14" } local = { source = "hashicorp/local" @@ -18,8 +18,8 @@ terraform { version = "2.1.2" } gandi = { - version = "2.0.0" - source = "github/go-gandi/gandi" + version = "2.1.0" + source = "go-gandi/gandi" } acme = { source = "vancluever/acme" diff --git a/master.tf b/master.tf index 85f205f..e2c2a5f 100644 --- a/master.tf +++ b/master.tf @@ -31,7 +31,7 @@ resource "libvirt_domain" "master" { coreos_ignition = libvirt_ignition.master_ignition.id autostart = false - cpu = { + cpu { mode = "host-passthrough" } diff --git a/storage.tf b/storage.tf index db553e6..3481a76 100644 --- a/storage.tf +++ b/storage.tf @@ -45,7 +45,7 @@ resource "libvirt_domain" "storage" { autostart = false qemu_agent = true - cpu = { + cpu { mode = "host-passthrough" } diff --git a/worker.tf b/worker.tf index 762c71f..61e6887 100644 --- a/worker.tf +++ b/worker.tf @@ -31,7 +31,7 @@ resource "libvirt_domain" "worker" { coreos_ignition = libvirt_ignition.worker_ignition.id autostart = false - cpu = { + cpu { mode = "host-passthrough" }