pulumi/pkg/resource
joeduffy ae92e68902 Return state as part of Create and Update¬
As part of the bridge bringup, I've discoverd that the property state
returned from Creates does *not* always equal the state that is then
read from calls to Get.  (I suspect this is a bug and that they should
be equivalent, but I doubt it's fruitfal to try and track down all
occurrences of this; I bet it's widespread).  To cope with this, we will
return state from Create and Update, instead of issuing a call to Get.
This was a design we considered to start with and frankly didn't have
a super strong reason to do it the current way, other than that it seemed
elegant to place all of the Get logic in one place.

Note that providers may choose to return nil, in which case we will read
state from the provider in the usual Get style.
2017-07-21 14:00:29 -07:00
..
deploy Return state as part of Create and Update¬ 2017-07-21 14:00:29 -07:00
environment Fix asset diffing 2017-07-17 10:38:57 -07:00
idl Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
plugin Return state as part of Create and Update¬ 2017-07-21 14:00:29 -07:00
provider Make assets and archives 1st class 2017-07-14 12:28:43 -07:00
asset.go Add a sig field to Asset/Archive 2017-07-18 09:30:31 -07:00
asset_test.go Add some more asset serialization round-tripping tests 2017-07-17 11:30:10 -07:00
config.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
errors.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
properties.go Fix asset diffing 2017-07-17 10:38:57 -07:00
properties_diff.go Add diffing logic for assets/archives 2017-07-17 12:11:15 -07:00
properties_diff_test.go Add diffing logic for assets/archives 2017-07-17 12:11:15 -07:00
properties_test.go Add key replacement functions 2017-07-12 13:03:18 -07:00
resource.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
resource_id.go Permit -1 for randlen and maxlen 2017-07-15 09:59:44 -07:00
resource_id_test.go Permit -1 for randlen and maxlen 2017-07-15 09:59:44 -07:00
resource_object.go Revert "Rename Lumi resource properties" 2017-07-15 09:33:23 -07:00
resource_state.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
urn.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
urn_test.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00