pulumi/pkg
bors[bot] 057fa82527
Merge #13190
13190: fix(cli/state rename): Update parent references on rename r=abhinav a=abhinav

If a resource is renamed with `pulumi state rename`,
in addition to updating references in resources that refer to it
as a dependency,
also update references to the resource as a parent of another resource.

Testing:
Includes an integration test that reproduces the panic,
and a unit test that verifies the new behavior at a more isolated level.
To implement the integration test,
a new RunPulumiCommand method was added to ProgramTester
because we don't have other means of running `pulumi state rename`
with ProgramTest.

Resolves #13179


Co-authored-by: Abhinav Gupta <abhinav@pulumi.com>
2023-06-17 05:58:29 +00:00
..
authhelpers make linter happy 2023-02-08 10:30:10 -08:00
backend filestate/upgrade: Support backfilling projects for detached stack 2023-06-13 10:08:32 -07:00
cmd/pulumi fix(cli/state rename): Update parent references on rename 2023-06-16 13:46:35 -07:00
codegen Extend SkipResourceTypechecking to allow generating unknown resources 2023-06-14 19:02:56 +02:00
engine Maintain alias compat for older Node.js SDKs on new CLIs 2023-06-14 08:34:32 -07:00
graph all: Assert => Assertf 2023-03-03 14:37:43 -08:00
importer all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
operations all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
resource Maintain alias compat for older Node.js SDKs on new CLIs 2023-06-14 08:34:32 -07:00
secrets Change secret.Manager State to json.RawMessage 2023-05-22 11:21:15 +01:00
testing/integration fix(cli/state rename): Update parent references on rename 2023-06-16 13:46:35 -07:00
util Hardcode some known provider plugin locations 2023-05-24 17:41:12 +01:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
workspace Allow mapping requests to install plugins 2023-05-29 14:53:04 +01:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod chore: post-release go.mod updates 2023-06-16 18:25:07 +00:00
go.sum Revert "Merge #13167" 2023-06-16 15:30:18 +01: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.