fix bool error

This commit is contained in:
pierre geeraert
2026-10-11 12:49:45 +01:00
parent 79dbe3721e
commit f8c89da4a1
3 changed files with 32 additions and 37 deletions
+2 -2
View File
@@ -199,9 +199,9 @@ resource "kubernetes_deployment_v1" "automatic" {
}
dynamic "host_path" {
for_each = volume.value.host_path ? [1] : []
for_each = volume.value.host_path != null || volume.value.local_path ? [1] : []
content {
path = coalesce(volume.value.host_filepath, null)
path = coalesce(volume.value.host_path, null)
}
}