You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on figuring out the best way to handle escape sequences for remote-exec. While this appears to be valid JSON, in the atom package it doesn't highlight properly.
provisioner "remote-exec" {
inline = [
"sudo grep -qxF 'HTTP_PROXY=\"myproxy:8080\"' /etc/sysconfig/docker || echo 'HTTP_PROXY=\"http://myproxy:8080\"' | sudo tee -a /etc/sysconfig/docker",
"sudo grep -qxF 'http_proxy=\"${HTTP_PROXY}\"' /etc/sysconfig/docker || echo 'http_proxy=\"${HTTP_PROXY}\"' | sudo tee -a /etc/sysconfig/docker",
]
}
Note I have a open issue on the terraform side to verify how to handle the $ and {}
The text was updated successfully, but these errors were encountered:
I'm working on figuring out the best way to handle escape sequences for remote-exec. While this appears to be valid JSON, in the atom package it doesn't highlight properly.
Note I have a open issue on the terraform side to verify how to handle the
$
and{}
The text was updated successfully, but these errors were encountered: