https://pulumi.com logo
Title
m

magnificent-motherboard-76110

11/29/2022, 9:32 PM
hey everyone, do you know if is it possible to work with micro-stacks using a self-managed backend?
l

little-cartoon-10569

11/29/2022, 9:43 PM
Yes, it's all possible. What's a micro-stack?
b

broad-dog-22463

11/29/2022, 9:44 PM
YEs, self managed backends have stackreferences that allow you reading data from another stack's outputs
I suggest a good naming convention for the stack names as self managed only support a simple naming convention - there's no concept of owner/project/stack
so you'd need to do something like networking.dev as a stackname
m

magnificent-motherboard-76110

11/29/2022, 9:53 PM
oh! that's the secret, I was exactly wondering how to do that
then do I have to keep several stacks, one per micro-service?
for instance:
coreinfra.dev
appone.dev
apptwo.dev
or all them should share the same
dev
stack?
b

broad-dog-22463

11/29/2022, 11:32 PM
it depends on what you are using a stack for - if an environment then I'd say yes
tis your choice