pulumi/pkg
joeduffy 0a72d5360a Modify provider creates; use get for outs
This change modifies the existing resource provider RPC interface slightly.
Instead of the Create API returning the bag of output properties, we will
rely on the Get API to do so.  As a result, this change takes an initial
whack at implementing Get on all existing AWS resources.  The Get API needs
to return a fully populated structure containing all inputs and outputs.

Believe it or not, this is actually part of pulumi/lumi#90.

This was done because just returning output properties is insufficient.
Any input properties that weren't supplied may have default values, for
example, and it is wholly reasonable to expect Lumi scripts to depend on
those values in addition to output values.

This isn't fully functional in its current form, because doing this
change turned up many other related changes required to enable output
properties.  For instance, at the moment resource properties are defined
in terms of `resource.URN`s, and yet unfortunately the provider side
knows nothing of URNs (instead preferring to deal in `resource.ID`s).
I am going to handle that in a subsequent isolated change, since it will
have far-reaching implications beyond just modifying create and get.
2017-06-01 08:36:43 -07:00
..
compiler Tolerate latent values in more places 2017-06-01 08:32:12 -07:00
diag Reclassify Lumi under the Apache 2.0 license 2017-05-18 14:51:52 -07:00
encoding Reclassify Lumi under the Apache 2.0 license 2017-05-18 14:51:52 -07:00
eval Distinguish between computed and output properties 2017-06-01 08:36:43 -07:00
graph Reclassify Lumi under the Apache 2.0 license 2017-05-18 14:51:52 -07:00
pack Reclassify Lumi under the Apache 2.0 license 2017-05-18 14:51:52 -07:00
resource Modify provider creates; use get for outs 2017-06-01 08:36:43 -07:00
tokens Reclassify Lumi under the Apache 2.0 license 2017-05-18 14:51:52 -07:00
tools/lumidl Modify provider creates; use get for outs 2017-06-01 08:36:43 -07:00
util Modify provider creates; use get for outs 2017-06-01 08:36:43 -07:00
workspace Reclassify Lumi under the Apache 2.0 license 2017-05-18 14:51:52 -07:00