Jason Mogavero
10/06/2023, 2:31 PMterragrunt run-all workflows working well? I have a project that has several components set out in separate subdirs and I have dependencies set up so that any plan or apply orders them correctly when done via terragrunt run-all. Using the above configs, I have it producing 4 separate plans and they all look great, but if I make any changes to a lower dependency layer it may not get planned or applied correctly when my current config runs them separately.
Simplified version of the project structure:
project_root/
├─ terragrunt_base/
│ ├─ project_vars.yaml
│ ├─ gke/
│ │ ├─ terragrunt.hcl
│ ├─ monitoring/
│ │ ├─ terragrunt.hcl
│ ├─ utils/
│ │ ├─ terragrunt.hcl
│ ├─ app/
│ │ ├─ terragrunt.hcl
├─ tf_modules/
│ ├─ gke/
│ ├─ monitoring/
│ ├─ utils/
│ ├─ app/
So when I build manually, I run terragrunt run-all plan / apply from /project_root/terragrunt_base
I'm not super clear on how to walk the configs back to run that single command from the terragrunt base dir.
I'm using atlantis-terragrunt-config as a pre-workflow hook in my server side config, I don't have a repo config other than a single atlantis_dependencies block to include some yaml and template files