Filter spacelift stacks based on account directories like `folder:stage/qa`, `folder:stage/dev`, etc
Have a question? Please checkout our Slack Community or visit our Slack Archive.
Describe the Feature
Problem: I'd like to see all the stacks associated for a specific account
Solution: Filter spacelift stacks based on account directories like folder:qa, folder:dev, etc
For instance, my eks component is deployed in auto, corp, dev, qa, staging, and prod in both use2 and usw2 regions. The spacelift stacks for eks all have a label on it like this component/eks so I can search for this label and I can see all the eks components. Success!
However, there isn't a stage specific label. If I wanted to search for all spacelift stacks for the qa account, I could search qa but this would not be helpful since the string is too short and there is no way to have the cardinality that I want.
I suggest we have a new folder called stage and in it we can have the accounts that we desire.
@nitrocode is this still relative?
Use cases I can think of
- If you want to auto attach policies to specific stacks, you may want to use
autoattach:folder:stage:qainstead ofautoattach:deps:stacks/ue1-qa.yaml - Visually filtering stacks by checking the folder for a specific stage e.g.
folder:stage:qa