fix bool error
This commit is contained in:
+2
-2
@@ -199,9 +199,9 @@ resource "kubernetes_deployment_v1" "automatic" {
|
||||
}
|
||||
|
||||
dynamic "host_path" {
|
||||
for_each = volume.value.host_path != null ? [1] : []
|
||||
for_each = volume.value.host_path ? [1] : []
|
||||
content {
|
||||
path = coalesce(volume.value.host_folderpath, null)
|
||||
path = coalesce(volume.value.host_filepath, null)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user