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
Error:
ERRO[0001] Error: Error in function call
ERRO[0001] on infrastructure/template/main/general/stage/customer-features/eks/k8s/terragrunt.hcl line 6, in locals:
ERRO[0001] 6:account_vars=read_terragrunt_config(find_in_parent_folders("account.hcl"))
ERRO[0001] Call to function "find_in_parent_folders" failed: ParentFileNotFoundError: Could not find an account.hcl in any of the parent folders of saas-test1/infrastructure/template/main/general/stage/network/terragrunt.hcl. Traversed all the way to the root.
Could someone please assist in resolving this?
Thanks for your help!
Steps To Reproduce
In the root of our Git repository, there are folders for deployment and infrastructure. When I execute one of the deployment configurations, it contains a dependency on infrastructure.
The Terragrunt configuration template includes a local block that utilizes the find_in_parent_folders function, which leads to Issues following Terraform version 0.55.1.
Config files are located here:
saas-test1/infrastructure/accounts/qa-dev/eu-central-1/devx/stage.hcl
saas-test1/infrastructure/accounts/qa-dev/eu-central-1/regional.hcl
saas-test1/infrastructure/accounts/qa-dev/account.hcl
Expected behavior
Expected the same as in 0.55.1
Versions
Terragrunt version: 0.58.14
OpenTofu/Terraform version: v1.3.4
Environment details (Ubuntu 20.04, Windows 10, etc.): Ubuntu 20.04
The text was updated successfully, but these errors were encountered:
@denis256, have you had the opportunity to examine the issue?
It appears that the "find_in_parent_folders" function is attempting to locate files from the inclusion location rather than from the execution folder as in the previous version of Terragrunt.
Describe the bug
Hi everyone,
I'm still experiencing this issue with find_in_parent_folders in the latest version.
Seems this is a duplication of #2941
Could someone please assist in resolving this?
Thanks for your help!
Steps To Reproduce
In the root of our Git repository, there are folders for deployment and infrastructure. When I execute one of the deployment configurations, it contains a dependency on infrastructure.
The dependent infrastructure module includes a template file:
The Terragrunt configuration template includes a local block that utilizes the find_in_parent_folders function, which leads to Issues following Terraform version 0.55.1.
Config files are located here:
saas-test1/infrastructure/accounts/qa-dev/eu-central-1/devx/stage.hcl
saas-test1/infrastructure/accounts/qa-dev/eu-central-1/regional.hcl
saas-test1/infrastructure/accounts/qa-dev/account.hcl
Expected behavior
Expected the same as in 0.55.1
Versions
The text was updated successfully, but these errors were encountered: