From 19804dc890bb0a3b3e7b45d51172496f252b24ac Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 22 Jan 2024 22:04:56 +0100 Subject: [PATCH] fix: clear vm description by default if no value is set --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index e644c05..e4e35a6 100644 --- a/main.tf +++ b/main.tf @@ -2,7 +2,7 @@ resource "proxmox_virtual_environment_vm" "server" { for_each = { for row in var.server : row.name => row } name = "${each.value.name}.${try(each.value.dns_zone, var.server_dns_zone)}" - description = try(each.value.description, null) + description = try(each.value.description, " ") tags = concat( [ "provisioner_terraform",