https://pulumi.com logo
#general
Title
# general
g

glamorous-printer-66548

06/25/2019, 10:42 PM
question: Having 1 project. Is it possible to have some of the stacks in that project use the pulumi hosted backend (
<http://pulumi.io|pulumi.io>
) and some other stacks in that project use the
local
backend? The use case is that some of our engineers want to deploy to their personal minikube in which case it would make more sense to use the
local
backend.
p

proud-alarm-92546

06/25/2019, 10:46 PM
sure, you just just
pulumi login
to the apropos place before interacting with the stack. it definitely adds some management overhead to make the right decisions etc.
I do this with s3 backends all the time - stacks live on different accounts with their own s3 bucket, so there's a login involved in every stack switch
g

glamorous-printer-66548

06/25/2019, 10:47 PM
hmm i see
i was hoping I could skip that login step somehow
p

proud-alarm-92546

06/25/2019, 10:49 PM
not in the current world. (I built a wrapper for my env to handle that automatically, it consumes it from the stack.yaml. it also enforces that -s is always passed)
g

glamorous-printer-66548

06/25/2019, 10:49 PM
I see
mind sharing that wrapper? 🙂
b

bored-river-53178

06/25/2019, 11:47 PM
the functionality to specify the backend config in Pulumi,yaml was recently added
I wonder if it would be possible to extend it to stack configs
p

proud-alarm-92546

06/26/2019, 8:16 PM
@bored-river-53178 got a link to that? I haven't seen it (and it didn't come up on the various issue/pr threads I've been involved with around this)
b

bored-river-53178

06/27/2019, 12:18 AM