pulumi/sdk/go/common/workspace
Luke Hoban 4ecd8f9f56
Add PULUMI_BACKEND_URL env var (#5789)
The PULUMI_BACKEND_URL env var allows specifying the backend to use instead of deferring to the project or the ~/.pulumi/credentials.json file to decide on the "current" backend.  This allows for using Pulumi without a dependence on this piece of global filesystem state, so that each `pulumi` invocation can control the exact backend it want's to operate on, without having to do stateful `pulumi login`/`pulumi logout` operations.

This is especially useful for automation scenarios like Automation API generally (and effectively solves https://github.com/pulumi/pulumi/issues/5591), or https://github.com/pulumi/pulumi-kubernetes-operator/issues/83 specifically.

This also makes things like efe7a599e6/dist/actions/entrypoint.sh (L10) less necessary, and possible to accomplish for any containerized `pulumi` execution without the need for this logic to be embedded in bash scripts wrapping the CLI.
2020-11-22 15:27:59 -08:00
..
creds.go Add PULUMI_BACKEND_URL env var (#5789) 2020-11-22 15:27:59 -08:00
paths.go switch os/user with luser 2020-07-27 14:44:08 -07:00
plugins.go Improve the output when installing plugins (#5808) 2020-11-21 08:02:05 -08:00
plugins_install_nodejs_test.go Install plugin dependencies (#5353) 2020-09-14 13:54:26 -07:00
plugins_install_python_test.go Install plugin dependencies (#5353) 2020-09-14 13:54:26 -07:00
plugins_install_test.go Fix plugin install failures on Windows (#5759) 2020-11-16 09:44:29 -08:00
plugins_test.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
project.go Install plugin dependencies (#5353) 2020-09-14 13:54:26 -07:00
project_test.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
settings.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
templates.go Handle blank project names in 'new' (#5504) 2020-10-05 13:40:24 -07:00
templates_test.go Handle blank project names in 'new' (#5504) 2020-10-05 13:40:24 -07:00
workspace.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00