mirror of https://github.com/pulumi/pulumi.git
4d3b82cb9f
These changes add support for ESC environments to the Pulumi CLI. This involves two major changes: - Support for the `env` subcommand - Support for the `environment` stanza in stack config files The former reuses the command from `esc` itself with a little rebranding. The latter adds support to stack config files for an `environment` property of the form: ```yaml environment: - list - of - environment - names ``` If this property is present in a stack's config file, the CLI will open the and merge the listed environments during `pulumi up` et. al. If an object-valued `pulumiConfig` property is present in the opened environment, its values will be merged on top of the stack's config prior to whatever operation is to be performed. If an object-valued `environmentVariables` property is present inthe opened environment, its values will be published as environment variables prior to the Pulumi operation. Any values in the open environment's `pulumiConfig` or `environmentVariables` that are marked as secret will be encrypted in the resulting config and will be filtered from the command's logs. |
||
---|---|---|
.. | ||
display | ||
filestate | ||
httpstate | ||
state | ||
apply.go | ||
apply_test.go | ||
backend.go | ||
backend_test.go | ||
cancellation_scope.go | ||
doc.go | ||
errors.go | ||
mock.go | ||
policypack.go | ||
query.go | ||
snapshot.go | ||
snapshot_test.go | ||
stack.go | ||
updates.go | ||
watch.go |