fix data_disk check

This commit is contained in:
Pim Kunis 2023-06-08 23:07:26 +02:00
parent 3eac32df64
commit 0857c3ac46

2
debian/main.tf vendored
View file

@ -127,7 +127,7 @@ resource "libvirt_domain" "debian" {
}
dynamic "disk" {
for_each = var.data_disk != null ? [1] : []
for_each = var.data_disk != "" ? [1] : []
content {
volume_id = var.data_disk