pulumi/pkg/resource/deploy
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
..
deploytest Refresh inputs (#2531) 2019-03-11 13:50:00 -07:00
providers Refresh inputs (#2531) 2019-03-11 13:50:00 -07:00
builtins.go Refresh inputs (#2531) 2019-03-11 13:50:00 -07:00
plan.go Add an API for importing stack outputs (#2180) 2018-11-14 13:33:35 -08:00
plan_executor.go Process deletions conservatively in parallel (#1963) 2018-09-27 15:49:08 -07:00
plan_test.go Add an API for importing stack outputs (#2180) 2018-11-14 13:33:35 -08:00
snapshot.go Add a list of in-flight operations to the deployment (#1759) 2018-08-10 21:39:59 -07:00
source.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_error.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_eval.go Add support for explicit delete-before-replace (#2415) 2019-01-31 14:27:53 -08:00
source_eval_test.go Add support for explicit delete-before-replace (#2415) 2019-01-31 14:27:53 -08:00
source_fixed.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_null.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
step.go Refresh inputs (#2531) 2019-03-11 13:50:00 -07:00
step_executor.go Default to unbounded parallelism (#2065) 2018-10-17 15:33:26 -07:00
step_generator.go Filter diff keys based on provider info (#2526) 2019-03-06 16:41:19 -08:00
target.go Add license headers 2018-05-22 15:02:47 -07:00