Closed goseeped closed 4 years ago
"${get_tfvars_dir()}/${find_in_parent_folders("account.tfvars")}"
If you remove this temporarily, does the error go away? Nested quotes are supported by Terraform, but not HCL / Terragrunt.
@brikis98 I found the issue, forget to put in the commands = [""] i carry the error from here xD
I had
commands = "${get_terraform_commands_that_need_vars()}"
instead of
commands = ["${get_terraform_commands_that_need_vars()}"]
Now it worked :)
-probably an exception in the future rather than a crash? -you want me to do another test?
Ah, OK. Yes, we should handle that error better! PR to fix that error handling is very welcome.
@goseeped I was just looking through old issues seeing if anything could possibly be closed out. Has the change to HCL2 support in terragrunt 0.19 resolved this issue?
Switching to HCL2 has likely fixed this, and this issue is a year old, so closing.
terragrunt version v0.17.1 Terraform v0.11.10 OS macOS 10.12.6 Provider : GCP
Having root terraform.tfvars
and this is the terraform.tfvars on the module vpc
Seems like the crash happens when adding the include with path = "${find_in_parent_folders()}" if I comment the include terragrunt won't crash but i can't add global vars in account.tfvars :(
Crash :(
Not sure if this more a configuration issue or recently terragrunt change this I try to check for weird character or something,