title: escaping url in terraform local-exec
body: <p>let say I have this :-</p>
  <pre><code>variable &quot;url&quot; {
    value = &quot;https://sqs.eu-central-1.amazonaws.com/11111111/my_queue.fifo&quot;
  }
  provisioner &quot;local-exec&quot; {
  command = &lt;&lt;-EOT
    sed -i &quot;s/URL.*:.*/URL: $url/g&quot; &quot;./test.yaml&quot;
  EOT
  }
  </code></pre>
  <p>while the ./test.yaml file would be:</p>
  <pre><code>kind: ConfigMap
  apiVersion: v1
  metadata:
    name: test
    namespace: default
  data:
    URL: &quot;&quot;
  </code></pre>
  <p>I wonder how to get my <code>URL: &quot;&quot;</code> element replaced with an url variable from terraform ? I've tried many times but it returned me regex error. the escaping hell :cry</p>