Add ability to automatically attach contexts to stacks in owning or inherited spaces💡Feature RequestsContextsSpacesStacksSpacelift ProviderDec 9, 2024WorkaroundYes, using autoattach labels, which is something of a hackProblemIt feels like Spacelift still fails to fully leverage the potential benefits that spaces could provide. More specifically, now that Spacelift has spaces for managing / partitioning stacks and contexts, it would be nice if a context could be configured such that it was automatically attached to all stacks in the space that owns the context as well as any stacks that are in contexts that are in child spaces that have inheritance enabled.Status: ⬆️ Gathering votes1 comment3
Log in to comment and vote
Comments1
Azure Chipmunk
Feb 27, 2025
This exists… Just put the context in the space in question and add the
autoattach:*label. It will automatically attach to all stacks in that space (and its children).https://docs.spacelift.io/concepts/configuration/context.html#auto-attachments