Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hcl: don't escape ANYTHING in ${}, let lower layer handle it #150

Merged
merged 1 commit into from
Nov 9, 2016

Conversation

mitchellh
Copy link
Contributor

@mitchellh mitchellh commented Sep 10, 2016

🚧 MERGE ONLY FOR TF 0.8 SINCE IT HAS BC-INCOMPAT 🚧

This changes the behavior of HCL to completely ignore any escape sequences within ${}. This is likely to break some configurations that used this. However, it resulted in more broken behavior if used with HIL.

The prior behavior caused problems because HCL would escape some things (escaped backslashes) and then HIL would do the same, or error for syntax/unescaped reasons. This double escape caused most practical configs to not work at all.

This change is slated for Terraform 0.8 when we can introduce BC-incompat.

@mitchellh
Copy link
Contributor Author

Terraform 0.8 is upon us. Here we go.

@mitchellh mitchellh merged commit 973f376 into master Nov 9, 2016
@mitchellh mitchellh deleted the b-escape-interp branch November 9, 2016 00:00
@mitchellh mitchellh changed the title [DO NOT MERGE YET] hcl: don't escape ANYTHING in ${}, let lower layer handle it hcl: don't escape ANYTHING in ${}, let lower layer handle it Nov 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant