question: Having 1 project. Is it possible to have...
# general
g
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
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
hmm i see
i was hoping I could skip that login step somehow
p
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
I see
mind sharing that wrapper? 🙂
b
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
@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