Open bitsofinfo opened 3 years ago
This use case would be addressed in the imports enhancements proposed in this ticket: https://github.com/gruntwork-io/terragrunt/issues/1566
In that world, you should be able to leverage multi-level includes to achieve DRY of dependencies without breaking run-all
(which read_terragrunt_config
does - https://github.com/gruntwork-io/terragrunt/issues/1128).
I'm trying to use the DRY principles expressed in https://github.com/gruntwork-io/terragrunt-infrastructure-modules-example and https://github.com/gruntwork-io/terragrunt-infrastructure-live-example
I am constantly having to re-declare
dependency
blocks in mylive
repo for low level dependencies such as outputs from an azure vnet module that I'm using. How can I avoid re-declaring this over and over?the
include
block seems useful but I'm already using that withfind_in_parent_folders()
... and it only takes onepath
so I'm out of luck there. Perhapsgenerate
in a top levelterragrunt.hcl
file but that won't work either, because i don't want this in all of my files, just a certain % of them.