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 |
||
---|---|---|
.. | ||
backend.go | ||
backend_legacy_test.go | ||
backend_test.go | ||
bucket.go | ||
bucket_test.go | ||
doc.go | ||
lock.go | ||
meta.go | ||
meta_test.go | ||
pool.go | ||
pool_test.go | ||
snapshot.go | ||
stack.go | ||
state.go | ||
store.go | ||
store_test.go |