-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
hashicorp/hil panic when file() used without quotes #5672
Comments
Apparently using file without quotes is what blew it up:
|
Thanks for the report, @matthughes, and sorry for the confusing error condition here! We'll get this fixed up soon. |
Minimal repro config: resource "aws_instance" "foo" {
ami = "${file(/tmp/somefile)}"
} |
I recently got this exact same crash.log, on the same version of terraform. Here is my resource.
|
Have a fix queued up, just need to update deps once it is merged. |
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 was running fine; now crashes on every command.
The text was updated successfully, but these errors were encountered: