pulumi/pkg/resource
joeduffy c61bce3e41 Permit undefined in more places
The prior code was a little too aggressive in rejected undefined
properties, because it assumed any occurrence indicated a resource
that was unavailable due to planning.  This is a by-produt of our
relatively recent decision to flow undefineds freely during planning.

The problem is, it's entirely legitimate to have undefined values
deep down in JavaScript structures, entirely unrelated to resources
whose property values are unknown due to planning.

This change flows undefined more freely.  There really are no
negative consequences of doing so, and avoids hitting some overly
aggressive assertion failures in some important scenarios.  Ideally
we would have a way to know statically whether something is a resource
property, and tighten up the assertions just to catch possible bugs
in the system, but because this is JavaScript, and all the assertions
are happening at runtime, we simply lack the necessary metadata to do so.
2017-10-23 16:02:28 -07:00
..
deploy Many asset improvements 2017-10-22 13:39:21 -07:00
idl Bring LUMIDL up to code 2017-09-11 16:58:25 -07:00
plugin Tolerate missing hashes 2017-10-22 15:54:44 -07:00
provider Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
stack Permit undefined in more places 2017-10-23 16:02:28 -07:00
asset.go Fix a few SHA1 comment typos (should be SHA256) 2017-10-22 18:30:42 -07:00
asset_test.go Tolerate missing hashes 2017-10-22 15:54:44 -07:00
errors.go Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
properties.go Many asset improvements 2017-10-22 13:39:21 -07:00
properties_diff.go Add diffing logic for assets/archives 2017-07-17 12:11:15 -07:00
properties_diff_test.go Many asset improvements 2017-10-22 13:39:21 -07:00
properties_test.go Tolerate computed and output properties 2017-08-03 11:01:38 -07:00
resource_goal.go Add auto-parenting 2017-10-15 04:38:26 -07:00
resource_id.go Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
resource_id_test.go Permit -1 for randlen and maxlen 2017-07-15 09:59:44 -07:00
resource_state.go Track resources that are pending deletion in checkpoints. 2017-10-18 17:09:00 -07:00
status.go Wire up Lumi to the new runtime strategy 2017-09-04 11:35:21 -07:00
urn.go Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
urn_test.go Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00