pulumi/pkg
Thomas Gummerer 2f4b26b681
rewrite the URN when resources are being moved between projects (#16523)
When a resource is moved between stacks in different projects we also
need to rewrite project part of the URNs. Do that here. Moving between
different projects already works by virtue of the requireStack function
supporting that when providing the fully qualified name of the stack.

There is some awkwardness here as old diy backends may not return a
project name, in which case we error out here. Curious if anyone has
thought about what to do here. Is erroring out the best we can do? What
happens if we don't rewrite the project name in this case?

---------

Co-authored-by: Will Jones <will@sacharissa.co.uk>
2024-07-01 17:36:11 +00:00
..
asset Move some asset code to pkg (#15162) 2024-01-17 11:30:37 +00:00
authhelpers Add tests for gcpauth pkg (#13926) 2023-09-13 11:27:03 +00:00
backend Update pu/pu to support deployment run command (#16492) 2024-07-01 14:18:44 +00:00
cmd/pulumi rewrite the URN when resources are being moved between projects (#16523) 2024-07-01 17:36:11 +00:00
codegen Conformance test for provider pre-release versions (#16498) 2024-06-29 10:07:14 +00:00
display Move sdk/go/common/display to /pkg/display (#13954) 2023-09-18 11:01:28 +00:00
engine Display `[retain]` in all cases of delete retention (#16506) 2024-06-28 23:19:26 +00:00
graph Adds a flag to graph command to insert fragment (#14858) 2024-01-08 22:03:08 +00:00
importer [engine/import] Guess ID references of dependant resources when generating code for import operations (#16208) 2024-05-20 17:00:16 +00:00
operations Move resource.URN to urn.URN (#15689) 2024-03-14 15:28:32 +00:00
resource Don't re-delete resources that are `PendingReplacement` (#16510) 2024-06-28 23:16:20 +00:00
secrets cloud backend test: retry creating secrets manager (#16494) 2024-06-27 04:33:56 +00:00
testing/integration Add packagemanager prompt to pulumi new for nodejs (#16417) 2024-06-21 11:35:06 +00:00
util [cli/plugin] Fix plugin install command when plugin type is tool (#16407) 2024-06-17 13:25:57 +00:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
workspace Refactor: move plugin kind to apitype (#15946) 2024-04-25 17:30:30 +00:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod update pulumi-yaml to 1.9.0 (#16530) 2024-06-28 23:14:58 +00:00
go.sum update pulumi-yaml to 1.9.0 (#16530) 2024-06-28 23:14:58 +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.