Can you have different stacks supported by differe...
# getting-started
g
Can you have different stacks supported by different backends? e.g. Dev / Staging / Prod uses Pulumi Service, but Local uses
file:///somewhere/
?
c
Yes you could. That requires you to
pulumi login <backendUrl>
before you create the stack using
pulumi stack init
.
g
Sweet! Thanks!
c
Once the stacks are created you must switch accounts using
pulumi login ...
each time you want to work with the respective stacks. It's a bit of a pain but it should work
g
That's fine! Thank you so much 😄
c
I am curious, though. What's the reason for wanting to do that if you don't mind answering? Feel free to DM me