🧪 Updated Experiments
The filter-flag experiment now supports graph expressions
The --filter flag now supports usage of graph expressions, allowing users to filter based on the dependency relationship of units discovered by Terragrunt (remember that you must use the filter-flag experiment to try this).
e.g.
# Find 'service' and everything it depends on
terragrunt find --filter 'service...'
# Find 'vpc' and everything that depends on it
terragrunt find --filter '...vpc'
# Find 'db' and its complete dependency graph
terragrunt find --filter '...db...'
# Find all dependents of 'vpc' but exclude 'vpc' itself
terragrunt find --filter '...^vpc'You can learn more about graph-based filtering in the filter feature documentation.
What's Changed
- feat: Integrating filters into discovery by @yhakbar in #5034
- feat: Adding support for graph expressions in
--filterby @yhakbar in #5049 - fix: Avoiding panic on missing
if_existsby @yhakbar in #5072 - fix: discovery parsing errors handling by @denis256 in #5037
- docs: Documenting filter graph expressions by @yhakbar in #5050
- chore: Refactor logic for
runinto dedicated internal package by @yhakbar in #5060 - chore: Refactor direct access of
runcommand flags to access insharedpackage by @yhakbar in #5062 - chore: Adding Travis as a code owner by @yhakbar in #5067
Full Changelog: v0.93.3...v0.93.4