From f3a537075cb52697fa809eb6f9f515c20f386885 Mon Sep 17 00:00:00 2001 From: Ricardo Mateus Date: Mon, 27 Dec 2021 11:05:39 +0000 Subject: [PATCH] update terraform libvirt provider ro 0.6.14 Signed-off-by: Ricardo Mateus --- backend_modules/libvirt/base/versions.tf | 2 +- backend_modules/libvirt/host/main.tf | 2 +- backend_modules/libvirt/host/versions.tf | 2 +- main.tf.libvirt.example | 2 +- main.tf.uyuni.example | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/backend_modules/libvirt/base/versions.tf b/backend_modules/libvirt/base/versions.tf index 5b687ccdc..ae05527e7 100644 --- a/backend_modules/libvirt/base/versions.tf +++ b/backend_modules/libvirt/base/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { libvirt = { source = "dmacvicar/libvirt" - version = "0.6.3" + version = "0.6.14" } } } diff --git a/backend_modules/libvirt/host/main.tf b/backend_modules/libvirt/host/main.tf index 19c532626..4cbb5b9a4 100644 --- a/backend_modules/libvirt/host/main.tf +++ b/backend_modules/libvirt/host/main.tf @@ -88,7 +88,7 @@ resource "libvirt_domain" "domain" { qemu_agent = true // copy host CPU model to guest to get the vmx flag if present - cpu = { + cpu { mode = local.provider_settings["cpu_model"] } diff --git a/backend_modules/libvirt/host/versions.tf b/backend_modules/libvirt/host/versions.tf index e8edd4336..a2f124d8d 100644 --- a/backend_modules/libvirt/host/versions.tf +++ b/backend_modules/libvirt/host/versions.tf @@ -7,7 +7,7 @@ terraform { } libvirt = { source = "dmacvicar/libvirt" - version = "0.6.3" + version = "0.6.14" } } } \ No newline at end of file diff --git a/main.tf.libvirt.example b/main.tf.libvirt.example index 98d3983ac..a634c81a6 100644 --- a/main.tf.libvirt.example +++ b/main.tf.libvirt.example @@ -3,7 +3,7 @@ terraform { required_providers { libvirt = { source = "dmacvicar/libvirt" - version = "0.6.3" + version = "0.6.14" } } } diff --git a/main.tf.uyuni.example b/main.tf.uyuni.example index 18fab154b..ac99ff084 100644 --- a/main.tf.uyuni.example +++ b/main.tf.uyuni.example @@ -3,7 +3,7 @@ terraform { required_providers { libvirt = { source = "dmacvicar/libvirt" - version = "0.6.3" + version = "0.6.14" } } }