From 424894bcdd6c55969474ba6157e79e678411eaa9 Mon Sep 17 00:00:00 2001 From: Can Bulut Bayburt Date: Fri, 12 May 2023 15:04:37 +0200 Subject: [PATCH] Upgrade to terraform-provider-libvirt-0.7.1 --- README.md | 2 +- backend_modules/libvirt/base/versions.tf | 2 +- backend_modules/libvirt/host/main.tf | 2 +- backend_modules/libvirt/host/versions.tf | 2 +- main.tf.libvirt-testsuite.example | 2 +- main.tf.libvirt.example | 2 +- main.tf.uyuni.example | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index afffb0cc0..d12f96cd0 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ **Terraform version**: 1.4.6 -**Libvirt provider version**: 0.6.3 +**Libvirt provider version**: 0.7.1 openSUSE and SUSE Linux Enterprise Server: diff --git a/backend_modules/libvirt/base/versions.tf b/backend_modules/libvirt/base/versions.tf index e47f0b92e..58f1d374b 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.7.1" } } } diff --git a/backend_modules/libvirt/host/main.tf b/backend_modules/libvirt/host/main.tf index 0cb562e13..61a81264c 100644 --- a/backend_modules/libvirt/host/main.tf +++ b/backend_modules/libvirt/host/main.tf @@ -92,7 +92,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 237d78969..98d6f48ca 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.7.1" } } } diff --git a/main.tf.libvirt-testsuite.example b/main.tf.libvirt-testsuite.example index 5f689c280..61243c3b0 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.7.1" } } } diff --git a/main.tf.libvirt.example b/main.tf.libvirt.example index d6bf30c94..44f2fffe4 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.7.1" } } } diff --git a/main.tf.uyuni.example b/main.tf.uyuni.example index 036c8687c..8de7cd219 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.7.1" } } }