Is there any easy way to use a local stack without...
# general
f
Is there any easy way to use a local stack without having to logout of my remote backend and login to the local one?
l
Have you tried https://github.com/localstack/pulumi-local? I don't know if it uses the session context in the pulumilocal wrapper
f
@limited-wolf-97785 thanks but that's for localstack which. I want pulumi to use a local backend ie file based backend
But currently you need to login to the file first and then do your commands
p
I think you can define the backend in the pulumi project yaml file
let me search for it
+ there’s an environment variable
PULUMI_BACKEND_URL
that can be used to overwrite it more dynamically: https://www.pulumi.com/docs/reference/cli/environment-variables/
@fast-florist-41572 is that what you were looking for?
f
Yeah, let me try that thanks
@prehistoric-activity-61023 that works! Thanks 🔥
🙌 1