---
name: queue-include-units-reading
description: If flag is set, 'run --all' will only run the command against Terragrunt units that read the specified file via an HCL function or include.
type: string
env:
  - TG_QUEUE_INCLUDE_UNITS_READING
---

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

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

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

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

e.g.

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

is equivalent to:

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

</Aside>
