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.24k stars 91 forks source link

[FEATURE] Add stack ids only to a particular subset of stacks #1646

Open az-z opened 5 months ago

az-z commented 5 months ago

Is your feature request related to a problem? Please describe. nope

Describe the solution you'd like terramate create --ensure-stack-ids ./

Describe alternatives you've considered manually creating ids or creating stacks using tm ( vs as i do it now manually)

Additional context in the large environment, running terramate create --ensure-stack-ids leads to the generation of stack ids across the entire project (repository). Ideally, i'd like to limit the scope of the change only to a particular subset of stacks.

az-z commented 5 months ago

in addition maybe it is a good idea to add stack id generation to the clone. See my recent update in #888