terramate-io / terramate

Terramate CLI is an open-source Infrastructure as Code (IaC) Orchestration and Code Generation tool for Terraform, OpenTofu and Terragrunt.
https://terramate.io
Mozilla Public License 2.0
3.28k stars 92 forks source link

[FEATURE] Support using dependency blocks from Terragrunt to calculate run order #1928

Open maulik13 opened 1 month ago

maulik13 commented 1 month ago

Is your feature request related to a problem? Please describe. At present terramate list --run-order does not take in to account Terragrunt dependency blocks.

Describe the solution you'd like Terramate should use dependency blocks from Terragrunt configuration to calculate the run-order. Terramate already reads dependency for change detection.

Describe alternatives you've considered We are using tags and after attributes. However, these need to be maintained manually at present across many stacks.