This commit is contained in:
Pim Kunis 2023-05-06 15:26:31 +02:00
parent a219ce0b2d
commit 8c9120df6d

View file

@ -90,7 +90,7 @@ resource "null_resource" "data_share" {
provisioner "remote-exec" {
inline = [
"${var.data_share} != null && mkdir -p --mode=og=rwx /data/${local.domain_name}"
"if [ \"${var.data_share}\" != \"null\"; then mkdir -p --mode=og=rwx /data/${local.domain_name}; fi"
]
}
}