---
name: units-that-include
description: If flag is set, 'run --all' will only run the command against Terragrunt units that include the specified file.
type: string
env:
  - TG_UNITS_THAT_INCLUDE
---

import { Aside } from '@astrojs/starlight/components';

<Aside type="tip" title="Alias for --filter">

This flag is an alias for the [`--filter` flag](/reference/cli/commands/run#filter).

When using this flag, the equivalent filter expression is used instead.

e.g.

```bash
terragrunt run --all --units-that-include shared.hcl -- plan
```

is equivalent to:

```bash
terragrunt run --all --filter 'reading=shared.hcl' -- plan
```

</Aside>
