Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Support global tags in stacks #1746

Open
efiShtain opened this issue Jun 6, 2024 · 4 comments
Open

[FEATURE] Support global tags in stacks #1746

efiShtain opened this issue Jun 6, 2024 · 4 comments
Labels
enhancement New feature or request planned

Comments

@efiShtain
Copy link

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

@efiShtain efiShtain added the enhancement New feature or request label Jun 6, 2024
@efiShtain efiShtain changed the title [FEATURE] Support Tags Inheritance on stack creation [FEATURE] Support global tags in stacks Jun 6, 2024
@mariux mariux added the planned label Jun 7, 2024
@efiShtain
Copy link
Author

Can I work on this one ?

@i4ki
Copy link
Contributor

i4ki commented Jun 28, 2024

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

@efiShtain
Copy link
Author

Pinged you on discord

@kaiehrhardt
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request planned
Projects
None yet
Development

No branches or pull requests

4 participants