mirror of https://github.com/pulumi/pulumi.git
7ce29eeb33
Whenever an update fails partially, it gives the engine back some state bag of outputs that should be persisted to the snapshot. When saving this state, we shouldn't save the inputs that triggered the update that failed, since the resource that exists will never have been updated successfully with those inputs. Instead of saving the new inputs on partial failed updates, this commit saves the old inputs and the new outputs. The new outputs will likely need to be refreshed to be useful, but the old inputs will be correct from the perpsective of the Pulumi program that generated the last successful update. Fixes pulumi/pulumi#2011 |
||
---|---|---|
.. | ||
destroy.go | ||
diff.go | ||
engine.go | ||
errors.go | ||
events.go | ||
eventsink.go | ||
lifecycle_test.go | ||
plan.go | ||
project.go | ||
refresh.go | ||
snapshot.go | ||
update.go |