mirror of https://github.com/pulumi/pulumi.git
41b967d451
When renaming a stack, we need to rewrite URN references to use the new stack name instead of the old one. Presently such references can occur as: * `Parent` references * `Provider` references * `Dependencies` * `PropertyDependencies` * `DeletedWith` references The current renaming implementation fails to rewrite `DeletedWith` references. Previously this went unnoticed since such references were also omitted when checking snapshot integrity. Now that integrity checks correctly inspect `DeletedWith` properties, the omission during rename has been surfaced. This commit fixes renaming to handle `DeletedWith` correctly. A follow-up should also ensure that renaming checks integrity itself prior to operation completion. Fixes #16215 |
||
---|---|---|
.. | ||
doc.go | ||
errors.go | ||
operations.go | ||
operations_test.go |