mirror of https://github.com/pulumi/pulumi.git
064fb93587
These changes add two commands for managing a stack's environments: - `pulumi config env add`, which adds environments to a stack's import list - `pulumi config env rm`, which removes an environment from a stack's import list As implied by their paths, these commands hang off of a new sub-command of `pulumi config`, `pulumi config env`. From the usage: * `pulumi config env add` Adds environments to the end of a stack's import list. Imported environments are merged in order per the ESC merge rules. The list of stacks behaves as if it were the import list in an anonymous environment. * `pulumi config env rm` Removes an environment from a stack's import list. Each of these commands previews the new stack environment and shows the environment definition. These commands print a warning if the stack's environment does not define any of the `environmentVariables`, `files`, or `pulumiConfig` properties. |
||
---|---|---|
.. | ||
config.go | ||
creds.go | ||
creds_test.go | ||
loaders.go | ||
loaders_test.go | ||
paths.go | ||
paths_test.go | ||
plugins.go | ||
plugins_install_nodejs_test.go | ||
plugins_install_python_test.go | ||
plugins_install_test.go | ||
plugins_test.go | ||
project.go | ||
project.json | ||
project_test.go | ||
settings.go | ||
templates.go | ||
templates_test.go | ||
templates_zip.go | ||
templates_zip_test.go | ||
workspace.go |