Terraform, Looking for a simple way to use double quotation marks in commands?
<p>I need a simple way of using regular quotations <code>"</code> in the <code>provisioner "remote-exec"</code> block of my terraform script.  Only <code>"</code> will work for what I would like to do and just trying <code>\"</code> doesn't work.  Whats the easiest way to have terraform interpret my command literally.  For reference here is what I am trying to run:</p>

<pre><code>provisioner "remote-exec" {
    inline = [
      "echo 'DOCKER_OPTS="-H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock"' &gt; /etc/default/docker",
    ]
}
</code></pre>