Filters File
If you want to ensure that certain units are always included or excluded, you can use a filters file.
Filters files are simple text files that contain filter expressions delimited by newlines. Empty lines and lines starting with # are ignored.
./subtree/**!./subtree/dependency/**terragrunt run --all --filters-file filters.txt -- planRunning Terragrunt like this is equivalent to running it with the following flags:
terragrunt run --all --filter './subtree/**' --filter '!./subtree/dependency/**' -- plan