I need a simple way of using regular quotations "
in the provisioner "remote-exec"
block of my terraform script. Only "
will work for what I would like to do and just trying \"
doesn't work. Whats the easiest way to have terraform interpret my command literally. For reference here is what I am trying to run:
provisioner "remote-exec" {
inline = [
"echo 'DOCKER_OPTS="-H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock"' > /etc/default/docker",
]
}