Closed ozbillwang closed 9 months ago
Hey @ozbillwang ,
It sounds like you're looking to leverage find_in_parent_folders. That will let you build out the hierarchy of configurations, as the terragrunt.hcl
files can include
the account.hcl
and region.hcl
files found in parent folders.
If you are looking for a solution to minimize the work required to stamp out the terragrunt.hcl
configurations that leverage those includes, you can look to utilize boilerplate to automate that process in a script.
nice, seems boilerplate is similar to Jinja2 . I will take a try.
new design https://excalidraw.com/#json=wBm-ZxElGqj_cSWEwVdUd,DrqLMJqXmyy2Z7mZQfYvVw
Describe the solution you'd like I need to catch up on the features available in Terragrunt.
Please let me know if a particular feature exists and provide guidance if possible
Describe alternatives you've considered Need manage hundreds of accounts,
So in above sample, if I need manage 100 accounts, I need repeat the part of
account-XXX
hundred times.The only differences between them are two files:
terragrunt.hcl # which includes the variables input
How can I manage hundreds of accounts with a template I can reference and copy from and only update with
account.hcl
and input part ofterragrunt.hcl
? So I don't have to repeat the codes?Additional context Design diagram