Fix Terraform validation errors

This commit is contained in:
katexochen 2022-10-13 09:38:17 +02:00 committed by Paul Meyer
parent ba6d707b46
commit a4a61e98ee
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ terraform {
} }
docker = { docker = {
source = "kreuzwerker/docker" source = "kreuzwerker/docker"
version = "2.17.0" version = "2.22.0"
} }
} }
} }
@ -31,7 +31,7 @@ resource "docker_image" "qemu_metadata" {
resource "docker_container" "qemu_metadata" { resource "docker_container" "qemu_metadata" {
name = "${var.name}-qemu-metadata" name = "${var.name}-qemu-metadata"
image = docker_image.qemu_metadata.latest image = docker_image.qemu_metadata.image_id
network_mode = "host" network_mode = "host"
rm = true rm = true
command = [ command = [

View File

@ -53,7 +53,7 @@ resource "libvirt_domain" "instance_group" {
target_port = "0" target_port = "0"
} }
xml { xml {
xslt = file("modules/instance_group/domain.xsl") xslt = file("${path.module}/domain.xsl")
} }
} }