From 9b5a1251eb1ab666049882759dfc48eb628eafa9 Mon Sep 17 00:00:00 2001 From: Paolo Invernizzi Date: Thu, 14 Nov 2024 10:55:18 +0100 Subject: [PATCH] Upgrade libvirt provider to v0.8.1 --- backend_modules/libvirt/base/versions.tf | 2 +- backend_modules/libvirt/host/main.tf | 2 +- backend_modules/libvirt/host/versions.tf | 4 ++-- main.tf.libvirt-testsuite.example | 2 +- main.tf.libvirt-testsuite.example.Manager-43 | 2 +- main.tf.libvirt.example | 2 +- main.tf.libvirt.example.Manager-43 | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/backend_modules/libvirt/base/versions.tf b/backend_modules/libvirt/base/versions.tf index 5b687ccdc..1d7552761 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.8.1" } } } diff --git a/backend_modules/libvirt/host/main.tf b/backend_modules/libvirt/host/main.tf index 956c651be..40e2c6d0d 100644 --- a/backend_modules/libvirt/host/main.tf +++ b/backend_modules/libvirt/host/main.tf @@ -154,7 +154,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..9755225ff 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.8.1" } } -} \ No newline at end of file +} diff --git a/main.tf.libvirt-testsuite.example b/main.tf.libvirt-testsuite.example index 7e61308b5..d60283f3d 100644 --- a/main.tf.libvirt-testsuite.example +++ b/main.tf.libvirt-testsuite.example @@ -3,7 +3,7 @@ terraform { required_providers { libvirt = { source = "dmacvicar/libvirt" - version = "0.6.3" + version = "0.8.1" } } } diff --git a/main.tf.libvirt-testsuite.example.Manager-43 b/main.tf.libvirt-testsuite.example.Manager-43 index f8de11d67..10bf13afe 100644 --- a/main.tf.libvirt-testsuite.example.Manager-43 +++ b/main.tf.libvirt-testsuite.example.Manager-43 @@ -3,7 +3,7 @@ terraform { required_providers { libvirt = { source = "dmacvicar/libvirt" - version = "0.6.3" + version = "0.8.1" } } } diff --git a/main.tf.libvirt.example b/main.tf.libvirt.example index ae98dab40..0070e309f 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.8.1" } } } diff --git a/main.tf.libvirt.example.Manager-43 b/main.tf.libvirt.example.Manager-43 index bd4bc0989..f4c970117 100644 --- a/main.tf.libvirt.example.Manager-43 +++ b/main.tf.libvirt.example.Manager-43 @@ -3,7 +3,7 @@ terraform { required_providers { libvirt = { source = "dmacvicar/libvirt" - version = "0.6.3" + version = "0.8.1" } } }