-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
File interpolation is not interpolating #159
Comments
Hm, I thought this was the same as #215 but maybe it isn't. Let me try. |
Fixed |
Thanks! Can't wait to see more enhancements. Terraform is the solution to something we need in the future. |
Just a heads up, the documentation seems to be out of sync with this ticket. https://terraform.io/docs/configuration/interpolation.html ^ "file(path) - Reads the contents of a file into the string. Variables in this file are not interpolated. The contents of the file are read as-is." but from this ticket, looks like interpolation of the contents of a file is indeed supported. |
Interpolation within the file is not allowed, a separate issue was fixed. |
My bad. Also, probably a good idea for security reasons. |
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. |
Related to GH-145, but I'm having the issue in 0.1.1, which should include the hash related to it.
I have a lunch configuration with
user_data = ${file("CDR.ps1")}
Build succeeds with
The userdata in the LC is
${file("CDR.ps1")}
Same effect with:
user_data = ${file('CDR.ps1')}
user_data = "${file(\"CDR.ps1\")}"
user_data = "${file('CDR.ps1')}"
The text was updated successfully, but these errors were encountered: