pulumi/pkg/engine
Pat Gavlin 7ebd70a3e6
Refresh inputs (#2531)
These changes take advantage of the newly-added support for returning
inputs from Read to update a resource's inputs as part of a refresh.
As a consequence, the Pulumi engine will now properly detect drift
between the actual state of a resource and the desired state described
by the program and generate appropriate update or replace steps.

As part of these changes, a resource's old inputs are now passed to the
provider when performing a refresh. The provider can take advantage of
this to maintain the accuracy of any additional data or metadata in the
resource's inputs that may need to be updated during the refresh.

This is required for the complete implementation of
https://github.com/pulumi/pulumi-terraform/pull/349. Without access to
the old inputs for a resource, TF-based providers would lose all
information about default population during a refresh.
2019-03-11 13:50:00 -07:00
..
destroy.go Implement status sinks 2018-08-31 15:56:53 -07:00
diff.go Refresh inputs (#2531) 2019-03-11 13:50:00 -07:00
engine.go Add an API for importing stack outputs (#2180) 2018-11-14 13:33:35 -08:00
errors.go Show a better error message when decrypting fails (#1815) 2018-08-22 15:32:54 -07:00
events.go Filter diff keys based on provider info (#2526) 2019-03-06 16:41:19 -08:00
eventsink.go Make a smattering of CLI UX improvements 2018-09-24 08:43:46 -07:00
lifecycle_test.go Refresh inputs (#2531) 2019-03-11 13:50:00 -07:00
plan.go Implement more precise delete-before-replace semantics. (#2369) 2019-01-28 09:46:30 -08:00
project.go Add license headers 2018-05-22 15:02:47 -07:00
refresh.go Implement status sinks 2018-08-31 15:56:53 -07:00
snapshot.go Add license headers 2018-05-22 15:02:47 -07:00
update.go Implement more precise delete-before-replace semantics. (#2369) 2019-01-28 09:46:30 -08:00