Skip to content

Commit

Permalink
Updated documentation for --terragrunt-graph-root (#3344)
Browse files Browse the repository at this point in the history
  • Loading branch information
denis256 authored Aug 14, 2024
1 parent dd602a3 commit 761223a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/04_reference/cli-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ More details in [catalog section](https://terragrunt.gruntwork.io/docs/features/

### graph

Run the provided OpenTofu/Terraform command against the graph of dependencies for the module in the current working directory. The graph consists of all modules that depend on the module in the current working directory via a `depends_on` or `dependencies` block, plus all the modules that depend on those modules, and all the modules that depend on those modules, and so on, recursively up the tree, up to the Git repository root, or the path specified via the optional `--graph-root` argument.
Run the provided OpenTofu/Terraform command against the graph of dependencies for the module in the current working directory. The graph consists of all modules that depend on the module in the current working directory via a `depends_on` or `dependencies` block, plus all the modules that depend on those modules, and all the modules that depend on those modules, and so on, recursively up the tree, up to the Git repository root, or the path specified via the optional `--terragrunt-graph-root` argument.

The Command will be executed following the order of dependencies: so it'll run on the module in the current working directory first, then on modules that depend on it directly, then on the modules that depend on those modules, and so on. Note that if the command is `destroy`, it will execute in the opposite order of the dependencies.

Expand Down

0 comments on commit 761223a

Please sign in to comment.