fix: clear vm description by default if no value is set
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/tag/test Pipeline was successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/tag/build-package Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-01-22 22:04:56 +01:00
parent e86b398d1b
commit 19804dc890
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -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",