commit 4d18c52b40a9ebb91c71ea8cd9702e8fa2f7f457
parent 91b1843fc82adff5ff6a94bb95453b852d584636
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Wed, 2 Mar 2022 21:39:25 +0100
add required providers
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/libvirt/terraform/vms.tf b/libvirt/terraform/vms.tf
@@ -5,6 +5,15 @@ locals {
all_hosts = merge(libvirt_domain.host, libvirt_domain.hosts_type2)
}
+terraform {
+ required_providers {
+ libvirt = {
+ source = "dmacvicar/libvirt"
+ version = "0.6.14"
+ }
+ }
+}
+
# todo: LIBVIRT_DEFAULT_URI does not work?
provider "libvirt" {
uri = "qemu:///system"