This message was deleted.
# general
s
This message was deleted.
c
if you have projects on the same backed, then you should create the stack names fully qualified something like project.stac (app.dev) if you have one backend per project, then you can't import stack outputs from one to another. Those are mi insights.
g
My practice is to use the local backend for stacks not requiring collaboration (dev) and the pulumi app backend for stacks requiring collaboration (staging, CI, production). +1 on fully-qualified stack names
k
thanks for your thoughts gents
@clever-plumber-29709, do you mean fully qualified project.stack (e.g. myproject.dev)
or do you mean embed the stack name in the project?
@gifted-vase-28337, how do you manage the switching between the local and app backends? You have to do a pulumi login each time, yes?
I guess I could set this up in an npm script
g
So far that happens infrequently enough that I've been manually logging in and out, but if that became burdensome I'd add login/logout to the repo
Makefile
where we have commands like
make up PROJECT=foo ENV=prod
-- as prefix and suffix to those commands.
👍 1
It's possible that we'll move the dev stacks to the pulumi backend (in individual non-shared dev organizations) to avoid having to log out 🙂