pulumi/pkg/resource/deploy/providers
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
..
reference.go Validate type tokens before using them (#1904) 2018-09-07 15:19:18 -07:00
reference_test.go Adopt golangci-lint and address issues 2018-11-08 14:11:47 -08:00
registry.go Refresh inputs (#2531) 2019-03-11 13:50:00 -07:00
registry_test.go Refresh inputs (#2531) 2019-03-11 13:50:00 -07:00