mirror of https://github.com/pulumi/pulumi.git
057fa82527
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> |
||
---|---|---|
.. | ||
authhelpers | ||
backend | ||
cmd/pulumi | ||
codegen | ||
engine | ||
graph | ||
importer | ||
operations | ||
resource | ||
secrets | ||
testing/integration | ||
util | ||
version | ||
workspace | ||
README.md | ||
go.mod | ||
go.sum |
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.