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. |
||
---|---|---|
.. | ||
api.go | ||
api_endpoints.go | ||
api_test.go | ||
client.go | ||
client_test.go | ||
doc.go | ||
marshal_post_1.20.go | ||
marshal_pre_1.20.go |