Open x-Xymos opened 2 years ago
Any light on this issue? I am coming across the very same thing. One might think it is looking for exact path matches, however, even if you use absolute paths it still displays the same error.
ERRO[0008] Module /home/sergiojoker11/github-repos/terragrunt/environments/flexys/pentest/aiven_keystores specifies /home/sergiojoker11/github-repos/terragrunt/environments/flexys/pentest/project/ as a dependency, but that dependency was not one of the ones found while scanning subfolders: [
...omitted sublist...
/home/sergiojoker11/github-repos/terragrunt/environments/flexys/pentest/project/terragrunt.hcl
]
I came across with this same issue, and noticed that as a workaround I could just create some dummy .tf
file in the dependency project.
touch environments/local/dev/k8s/something.tf
And the terragrunt run-all init
should work.
I had the same issue:
Module $module_name specifies $deps_path as a dependency, but that dependency was not one of the ones found while scanning subfolders:
after mocking output and adding .tf file to module folder problem was solved, but i think it should be fixed.
I have the following project structure:
All services depends on some outputs from the k8s component, when I try to run
terragrunt run-all init
inside ofenvironments/dev/local
and none of the modules or their backends have been initialized, the stack groups are not shown I get an errorI can work around this by: cd into k8s folder, run
terragrunt init
environments/dev/local
terragrunt run-all init
Group 2
This is not ideal as I can't initialize everything with a single command and I have to implement custom functionality into my script to work around this.