Replies: 1 comment
-
Hi,
https://terragrunt.gruntwork.io/docs/reference/cli-options/#terragrunt-exclude-dir Simplified example in: https://github.com/denis256/terragrunt-tests/tree/master/discussion-815 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a couple AWS environments which are built up similarly and managed by terragrunt. I have a directory structure where i have a folder called
environments
which contains aterragrunt.hcl
with state config, etc.Inside the environments folder is a subfolder per environment, each subfolder contains a terragrunt.hcl which includes the root file from the environments folder with the help of
Now, i want to fully use the superpowers of terragrunt and execute the
run-all
command. This causes some problems: When i execute it in theenvironments
root folder, it properly cycles through all the environments subfolder, however it also tries to execute the rootterragrunt.hcl
which was never meant to be executed but only included in the subfolders.How can i run
terragrunt run-all
in such a way that it recognizes the root hcl file to not being "executable" on its own, but has to be included in the environment subfolder?Tracked in ticket #110872
Beta Was this translation helpful? Give feedback.
All reactions