mirror of https://github.com/pulumi/pulumi.git
c881441890
Fixes https://github.com/pulumi/pulumi/issues/12581 Also fixes ignoreChanges[idx] resting values to zero. Before this change PropertiesPath.Delete would "delete" locations from an array by just writing null to them but not changing the size of the array. This could result in a deployment that looked like it should have been a same ending up as an update. For example given a resource `X` with a property `foo` set to `[1]` if you changed the program to set `foo` to `[1, 2]` and set `ignoreChanges` to `foo[1]` the deployment would do an update with `foo` set to `[1, 0]`. For PropertiesPath.Reset this now errors that the path is invalid, this is similar to how we error on invalid paths if intermediate objects are missing. |
||
---|---|---|
.. | ||
lifecycletest | ||
deployment.go | ||
destroy.go | ||
detailedDiff.go | ||
detailedDiff_test.go | ||
doc.go | ||
engine.go | ||
errors.go | ||
events.go | ||
events_test.go | ||
eventsink.go | ||
import.go | ||
journal.go | ||
plugin_host.go | ||
plugins.go | ||
plugins_test.go | ||
project.go | ||
query.go | ||
refresh.go | ||
snapshot.go | ||
update.go | ||
update_test.go |