-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Syntax error with heredoc's on Windows in TF v0.6.7 #4069
Comments
I saw same behavior. 0.6.7 looks like more sensitive to line endings. I solved similar issue with converting your.tf file to linux line endings |
@partamonov will give it a shot, thanks! |
Seems there are indeed some issues upstream with HCL and Windows line ending support. I'll work on getting them fixed tomorrow. |
This may be brittle as it makes use of .gitattributes to override the autocrlf setting in order to have an input file with Windows line endings across multiple platforms.
This may be brittle as it makes use of .gitattributes to override the autocrlf setting in order to have an input file with Windows line endings across multiple platforms.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
terraform get
fails with the errorError loading Terraform: Error loading config: Error parsing C:\Users\Steve\Documents\RubymineProjects\best-practices\terraform\providers\aws\us_west_1_staging\main.tf: At 231:9: illegal char
anywhere a heredoc used.v0.6.6 works fine, but 0.6.7 fails with this syntax error. Seems to work fine on OS X, but Windows not so much.
Example of where it's failing for the error mentioned above (L231:9)...
The text was updated successfully, but these errors were encountered: