terraform: run via /bin/sh directly
@@ -116,7 +116,7 @@ EOF
provisioner "remote-exec" {
inline = [
- "${var.hardened_security} && sudo /home/${var.ssh_username}/soften_mounts.sh",
+ "${var.hardened_security} && sudo /bin/sh /home/${var.ssh_username}/soften_mounts.sh",
"exit 0",
]
}
