fix
This commit is contained in:
parent
a219ce0b2d
commit
8c9120df6d
1 changed files with 1 additions and 1 deletions
2
main.tf
2
main.tf
|
@ -90,7 +90,7 @@ resource "null_resource" "data_share" {
|
||||||
|
|
||||||
provisioner "remote-exec" {
|
provisioner "remote-exec" {
|
||||||
inline = [
|
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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue