pulumi/tests/integration/construct_component_resourc.../go
Pat Gavlin 4d3b82cb9f
[cli] Add support for environments (#14140)
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.
2023-10-10 01:35:39 +00:00
..
Pulumi.yaml test(go): Integration test for MLC options 2023-04-18 13:22:52 -07:00
go.mod [cli] Add support for environments (#14140) 2023-10-10 01:35:39 +00:00
go.sum [cli] Add support for environments (#14140) 2023-10-10 01:35:39 +00:00
main.go sdk/go: Propagate more resource options from provider.Construct 2023-04-21 10:58:59 -07:00