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
Our terragrunt file structure is the following, top level is the application name, 2nd level is account & 3rd is the region. E.g.
Top Level = example_app
2nd Level = example_account
3rd Level = example_region
Would look like
child terragrunt.hcl files are located at app_name/account_name/region_name/terragrunt.hcl. And are simple terragrunt files that have an include block for the root terragrunt configuration (defined at the application/top level). In our root terragrunt configuration we define the above locals for all children, basic things like project/app level locals, account level & region level locals.
The issue is we are unable to use the run-all command to apply multiple accounts/regions at any given time as the terragrunt run-all <operation> command first validates/tries to run the root level terragrunt file which is invalid on it's own as the account & region level locals do not exists in that context.
Running plan/apply operation at the region level works correctly as it finds the child terragrunt.hcl
Expected behavior
Be able to run the run-all command from the top/application level
The text was updated successfully, but these errors were encountered:
Looks like skip = true would solve this nicely but it doesn't seem to be functioning as intended at the minute #704. Issue open for a very long time too ):
Describe the bug
Our terragrunt file structure is the following, top level is the application name, 2nd level is account & 3rd is the region. E.g.
Top Level = example_app
2nd Level = example_account
3rd Level = example_region
Would look like
We define what the application terraform should look like at the application/top level like so
child terragrunt.hcl files are located at
app_name/account_name/region_name/terragrunt.hcl
. And are simple terragrunt files that have an include block for the root terragrunt configuration (defined at the application/top level). In our root terragrunt configuration we define the above locals for all children, basic things like project/app level locals, account level & region level locals.The issue is we are unable to use the
run-all
command to apply multiple accounts/regions at any given time as theterragrunt run-all <operation>
command first validates/tries to run the root level terragrunt file which is invalid on it's own as the account & region level locals do not exists in that context.Running plan/apply operation at the region level works correctly as it finds the child
terragrunt.hcl
Expected behavior
Be able to run the
run-all
command from the top/application levelThe text was updated successfully, but these errors were encountered: