pulumi/pkg/resource
Alex Clemmer a172f1a048 Implement partial Read
Some time ago, we introduced the concept of the initialization error to
Pulumi (i.e., an error where the resource was successfully created but
failed to fully initialize). This was originally implemented in `Create`
and `Update`  methods of the resource provider interface; when we
detected an initialization failure, we'd pack the live version of the
object into the error, and return that to the engine.

Omitted from this initial implementation was a similar semantics for
`Read`. There are many implications of this, but one of them is that a
`pulumi refresh` will erase any initialization errors that had
previously been observed, even if the initialization errors still exist
in the resource.

This commit will introduce the initialization error semantics to `Read`,
fixing this issue.
2018-08-10 15:10:14 -07:00
..
config Add license headers 2018-05-22 15:02:47 -07:00
deploy Implement partial Read 2018-08-10 15:10:14 -07:00
graph Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
plugin Implement partial Read 2018-08-10 15:10:14 -07:00
provider Add URN argument to HostClient#Log 2018-08-01 11:00:48 -07:00
stack Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
testdata Fix asset bugs; write more tests 2017-10-24 09:00:11 -07:00
asset.go Support empty text assets (#1599) 2018-07-05 14:30:35 -07:00
asset_test.go Support empty text assets (#1599) 2018-07-05 14:30:35 -07:00
errors.go Add license headers 2018-05-22 15:02:47 -07:00
properties.go Support Pulumi programs written in Go 2018-06-08 10:36:10 -07:00
properties_diff.go Add license headers 2018-05-22 15:02:47 -07:00
properties_diff_test.go Add license headers 2018-05-22 15:02:47 -07:00
properties_test.go Add license headers 2018-05-22 15:02:47 -07:00
resource_goal.go Implement partial Read 2018-08-10 15:10:14 -07:00
resource_id.go Add license headers 2018-05-22 15:02:47 -07:00
resource_id_test.go Add license headers 2018-05-22 15:02:47 -07:00
resource_state.go Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
stack.go Add license headers 2018-05-22 15:02:47 -07:00
status.go Partial status for resource providers 2018-07-02 13:32:23 -07:00
urn.go Add license headers 2018-05-22 15:02:47 -07:00
urn_test.go Add license headers 2018-05-22 15:02:47 -07:00