fix creating directory share if it already exists

This commit is contained in:
Pim Kunis 2023-04-25 22:53:23 +02:00
parent cd94a85535
commit 7e0834b69c

View file

@ -91,7 +91,7 @@ resource "null_resource" "data_share" {
provisioner "remote-exec" {
inline = [
"${var.add_data_share} && mkdir --mode=og=rw /data/${local.domain_name}"
"${var.add_data_share} && mkdir -p --mode=og=rw /data/${local.domain_name}"
]
}
}