You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO[0000] Could not find an old config file. Starting from scratch
ERRO[0000] Error: Error infunctioncall
ERRO[0000] on /atlantis_read_terragrunt_config_dependency/child/001/terragrunt.hcl line 6, in locals:
ERRO[0000] 6: common = read_terragrunt_config(find_in_parent_folders("common-child.hcl"))
ERRO[0000]
ERRO[0000] Call to function"read_terragrunt_config" failed: The RunTerragrunt option has not been set on this TerragruntOptions object.
ERRO[0000] Encountered error while evaluating locals in file /atlantis_read_terragrunt_config_dependency/child/001/terragrunt.hcl
Error: /atlantis_read_terragrunt_config_dependency/child/001/terragrunt.hcl:6,12-35: Error infunctioncall; Call to function"read_terragrunt_config" failed: The RunTerragrunt option has not been set on this TerragruntOptions object.
Hi, I'm currently experiencing the same issue. Unfortunately, I haven't found a useful solution so far. I'll keep looking and update here if I come across anything that works.
It looks like it's coming from the Terragrunt old version used inside the tool, I was able to reproduce it with Terragrunt v0.54.1 directly.
I tried to upgrade this dependency but looks like too much stuff has changed in between, so it's not that easy.
Bug report
atlantis.yaml cannot be generated if the child terragrunt.hcl uses read_terragrunt_config function on a file that contains dependencies.
To Reproduce
Summarize how to reproduce the behavior. For example:
terragrunt-atlantis-config generate --output atlantis.yaml --filter child/001
Expected behavior
No error. I expected the generated Atlantis config to look like:
Actual behavior
Relevant Terragrunt files
a link to a repository with the smallest set of code needed to reproduce the issue:
https://github.com/kbcz1989/atlantis_read_terragrunt_config_dependency/tree/master
The text was updated successfully, but these errors were encountered: