docs/src/data/flags/list-external.mdx
import { Aside } from '@astrojs/starlight/components';
Controls whether Terragrunt should discover and include external dependencies in the list results. External dependencies are Terragrunt configurations that are referenced by your configurations but exist outside the current working directory.
This flag is most useful when:
Example:
$ terragrunt list -l --dependencies
Type Path Dependencies
unit a-dependent b-dependency
unit b-dependency
$ terragrunt list -l --dependencies --external
Type Path Dependencies
unit ../external/c-dependency
unit a-dependent ../external/c-dependency, b-dependency
unit b-dependency