terramate-io/terramate

[FEATURE] Support global tags in stacks

Opened this issue ยท 4 comments

Is your feature request related to a problem? Please describe.
When working with hierarchy of stacks, I would like to automatically add tags to the sub stacks

Describe the solution you'd like

Accounts 
   - Dev
       - StackA
       - StackB
       dev_config.tm.hcl
   - Prod
     prod_config.tm.hcl

and dev_config.tm.hcl has something like this

global_tags {
   tags = [
      "dev"
      "account:xyz"
  ]
}

every stack created under dev stack would merge it's tags with the global tags automatically

it doesn't have to merge them directly to the stack's tags list, so the stack can be moved and duplicated to other hierarchy

but when I use terramate list --tags ... it should take global tags into account

Can I work on this one ?

i4ki commented

hey @efiShtain
please reach out directly to me in our community Discord and let's talk about it (my username is _i4k there).

Pinged you on discord

Any news here? I would like to share my environment tags.