fix data_disk check
This commit is contained in:
parent
3eac32df64
commit
0857c3ac46
1 changed files with 1 additions and 1 deletions
2
debian/main.tf
vendored
2
debian/main.tf
vendored
|
@ -127,7 +127,7 @@ resource "libvirt_domain" "debian" {
|
||||||
}
|
}
|
||||||
|
|
||||||
dynamic "disk" {
|
dynamic "disk" {
|
||||||
for_each = var.data_disk != null ? [1] : []
|
for_each = var.data_disk != "" ? [1] : []
|
||||||
|
|
||||||
content {
|
content {
|
||||||
volume_id = var.data_disk
|
volume_id = var.data_disk
|
||||||
|
|
Reference in a new issue