You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-starlight/src/content/docs/04-reference/03-strict-controls.mdx
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,6 +193,19 @@ and unit-b.
193
193
The `**` double wildcard indicates any character including `/`, this allows
194
194
matching multiple directory depths e.g. `units/**` matches unit-a, unit-b, and unit-c.
195
195
196
+
### queue-exclude-external
197
+
198
+
Throw an error when using the deprecated `--queue-exclude-external` flag.
199
+
200
+
**Reason**: External dependencies are now excluded by default. The `--queue-exclude-external` flag is no longer needed and has been deprecated. Use `--queue-include-external` if you need to include external dependencies.
201
+
202
+
**Example**:
203
+
```bash
204
+
# This will show a warning (or error with strict control enabled)
205
+
$ terragrunt run --all plan --queue-exclude-external
206
+
WARN The `--queue-exclude-external` flag is deprecated and will be removed in a future version of Terragrunt. External dependencies are now excluded by default.
207
+
```
208
+
196
209
## Control Categories
197
210
198
211
Certain strict controls are grouped into categories to make it easier to enable multiple strict controls at once.
@@ -217,6 +230,7 @@ Throw an error when using the deprecated flags.
Copy file name to clipboardExpand all lines: docs-starlight/src/data/flags/queue-exclude-external.mdx
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,14 @@ env:
6
6
- TG_QUEUE_EXCLUDE_EXTERNAL
7
7
---
8
8
9
-
When enabled, Terragrunt will exclude external dependencies (dependencies outside the current working directory) from the queue when running commands with [`all`](/docs/reference/cli/commands/run#all).
Note that an external dependency is a dependency that is outside the current Terragrunt working directory and is not within any directories specified by [`queue-include-dir`](/docs/reference/cli/commands/run#queue-include-dir).
11
+
<Asidetype="caution"title="Deprecated">
12
+
This flag is deprecated and will be removed in a future version of Terragrunt. External dependencies are now excluded by default, making this flag unnecessary.
13
+
14
+
Use [`--queue-include-external`](/docs/reference/cli/commands/run#queue-include-external) if you need to include external dependencies.
15
+
</Aside>
12
16
13
-
This flag is useful when you want to limit the scope of execution to only units within your current working directory structure.
17
+
When enabled, Terragrunt will exclude external dependencies (dependencies outside the current working directory) from the queue when running commands with [`--all`](/docs/reference/cli/commands/run#all).
18
+
19
+
Note that an external dependency is a dependency that is outside the current Terragrunt working directory and is not within any directories specified by [`queue-include-dir`](/docs/reference/cli/commands/run#queue-include-dir).
Copy file name to clipboardExpand all lines: docs-starlight/src/data/flags/queue-include-external.mdx
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,4 +6,8 @@ env:
6
6
- TG_QUEUE_INCLUDE_EXTERNAL
7
7
---
8
8
9
-
When enabled, Terragrunt will include external dependencies (dependencies discovered outside the current working directory) in the queue when running commands with [`--all`](/docs/reference/cli/commands/run#all) or [`--graph`](/docs/reference/cli/commands/run#graph).
9
+
By default, Terragrunt excludes external dependencies (dependencies discovered outside the current working directory) from the queue when running commands with [`--all`](/docs/reference/cli/commands/run#all) or [`--graph`](/docs/reference/cli/commands/run#graph).
10
+
11
+
When this flag is enabled, Terragrunt will include those external dependencies in the queue.
12
+
13
+
This flag is useful when you have units that depend on infrastructure outside your current working directory and need those dependencies to be processed as part of the run.
0 commit comments