Thread
#getting-started
    g

    glamorous-glass-45224

    7 months ago
    Can you have different stacks supported by different backends? e.g. Dev / Staging / Prod uses Pulumi Service, but Local uses
    file:///somewhere/
    ?
    c

    clever-sunset-76585

    7 months ago
    Yes you could. That requires you to
    pulumi login <backendUrl>
    before you create the stack using
    pulumi stack init
    .
    g

    glamorous-glass-45224

    7 months ago
    Sweet! Thanks!
    c

    clever-sunset-76585

    7 months ago
    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

    glamorous-glass-45224

    7 months ago
    That's fine! Thank you so much 😄
    c

    clever-sunset-76585

    7 months ago
    I am curious, though. What's the reason for wanting to do that if you don't mind answering? Feel free to DM me