fix: clear vm description by default if no value is set
This commit is contained in:
parent
e86b398d1b
commit
19804dc890
2
main.tf
2
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",
|
||||
|
Loading…
Reference in New Issue
Block a user