pulumi/pkg
Thomas Gummerer e743503d37
state move: show full set of delete commands when writing source stack fails (#17205)
Before actually writing the source stack, we have no way of knowing we
can write it. The same is true for writing the destination stack. This
means if the one we write later fails to write, we get an incompletely
moved state.

We've decided to move the destination stack first, and then the source
stack, so resources are always tracked. The error message also mentions
cleaning up the source stack, however it's not completely obvious how to
do that. Since we know the resources that were supposed to be moved (and
successfully been written to the destination stack at this point), we
can give the user better instructions on how to clean up the resources.

Do that by giving them a full set of `pulumi state delete` commands they
can run to clean up the source stack.

Fixes https://github.com/pulumi/pulumi/issues/17187
2024-09-09 16:33:07 +00:00
..
asset Move some asset code to pkg (#15162) 2024-01-17 11:30:37 +00:00
authhelpers Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
backend state move: show full set of delete commands when writing source stack fails (#17205) 2024-09-09 16:33:07 +00:00
cmd/pulumi state move: show full set of delete commands when writing source stack fails (#17205) 2024-09-09 16:33:07 +00:00
codegen [go] Allow output-versioned invokes to resolve and maintain secrets (#17132) 2024-09-09 12:57:43 +00:00
display Move sdk/go/common/display to /pkg/display (#13954) 2023-09-18 11:01:28 +00:00
engine Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
graph Adds a flag to graph command to insert fragment (#14858) 2024-01-08 22:03:08 +00:00
importer [cli/import] Fix undefined variable errors in code generation when imported resources use a parent or provider (#16786) 2024-07-25 13:53:44 +00:00
operations Move resource.URN to urn.URN (#15689) 2024-03-14 15:28:32 +00:00
resource Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
secrets Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
testing/integration Switch back to `os/user` to get the current user (#17125) 2024-08-31 18:54:35 +00:00
util Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
workspace Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod Replace pkg/errors.Wrap with fmt.Errorf (#17201) 2024-09-09 11:11:46 +00:00
go.sum Update to yaml v1.10 (#17154) 2024-09-04 13:51:42 +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.