pulumi/pkg
Pat Gavlin 064fb93587
[esc] Add commands for managing stack environments (#14628)
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.
2023-11-22 05:04:14 +00:00
..
authhelpers Add tests for gcpauth pkg (#13926) 2023-09-13 11:27:03 +00:00
backend [cli] Include config from ESC in `pulumi config` (#14560) 2023-11-21 10:44:45 +00:00
cmd/pulumi [esc] Add commands for managing stack environments (#14628) 2023-11-22 05:04:14 +00:00
codegen [sdk-gen] No longer writing out name and project from alias definitions into generated SDKs (#14625) 2023-11-21 22:40:14 +00:00
display Move sdk/go/common/display to /pkg/display (#13954) 2023-09-18 11:01:28 +00:00
engine Update golangci-lint (#14624) 2023-11-21 15:16:13 +00:00
graph Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
importer Allow anything in resource names (#14107) 2023-11-20 08:59:00 +00:00
operations Allow anything in resource names (#14107) 2023-11-20 08:59:00 +00:00
resource Allow anything in resource names (#14107) 2023-11-20 08:59:00 +00:00
secrets Add tokens.StackName (#14487) 2023-11-15 07:44:54 +00:00
testing/integration Switch to use env.Env in filestate (#14044) 2023-10-18 10:52:54 +00:00
util Add tokens.StackName (#14487) 2023-11-15 07:44:54 +00:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
workspace Actually disable plugin acquisition (#14134) 2023-10-14 08:32:43 +00:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod [esc] Add commands for managing stack environments (#14628) 2023-11-22 05:04:14 +00:00
go.sum [esc] Add commands for managing stack environments (#14628) 2023-11-22 05:04:14 +00:00

README.md

pulumi/pkg

While pulumi/sdk maintains strict backwards compatibility guarantees, code under pkg/ is handled more informally: while breaking changes are still discouraged they may happen when they make sense.