Replies: 2 comments
-
| 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
                  
                
            -
| FWI, there's a simple recommendation that we make nowadays to just call the root configuration something else that resolves this issue: | 
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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
environmentswhich contains aterragrunt.hclwith 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-allcommand. This causes some problems: When i execute it in theenvironmentsroot folder, it properly cycles through all the environments subfolder, however it also tries to execute the rootterragrunt.hclwhich was never meant to be executed but only included in the subfolders.How can i run
terragrunt run-allin 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