pulumi/sdk/go/common/resource
Levi Blackstone f6ec691544
Fix malformed resource value bug (#6164)
* Fix resource-ref-as-ID marshaling. (#6125)

This reapplies 2f0dba23ab.

* Fix malformed resource value bug

PR #6125 introduced a bug by marshaling resource
ids as PropertyValues, but not handling that case on
the unmarshaling side. The previous code assumed
that the id was a simple string value. This bug prevents
any stack update operations (preview, update, destroy,
refresh). Since this change was already
released, we must now handle both cases in the
unmarshaling code.

* Add resource ref unit tests for the Go SDK. (#6142)

This reapplies 3d505912b8.

Co-authored-by: Pat Gavlin <pat@pulumi.com>
2021-01-21 16:40:27 -07:00
..
config Add the ability to copy configs between stacks (#4971) 2020-07-17 11:14:10 +01:00
plugin Fix malformed resource value bug (#6164) 2021-01-21 16:40:27 -07:00
asset.go support jar files 2020-08-10 14:15:35 -07:00
asset_test.go add initial pull-request workflow (#5276) 2020-09-09 13:37:03 -07:00
custom_timeouts.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
errors.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
properties.go Fix malformed resource value bug (#6164) 2021-01-21 16:40:27 -07:00
properties_diff.go Fix malformed resource value bug (#6164) 2021-01-21 16:40:27 -07:00
properties_diff_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
properties_path.go Properly resize arrays when adding (#5872) 2020-12-06 21:23:50 +00:00
properties_path_test.go Properly resize arrays when adding (#5872) 2020-12-06 21:23:50 +00:00
properties_test.go fix unknown status for secrets wrapping unknowns (#4377) 2020-04-13 22:47:08 +01:00
resource_goal.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
resource_id.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
resource_id_test.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
resource_operation.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
resource_state.go Avoid replace on second update with import applied (#4403) 2020-04-15 18:52:40 -07:00
stack.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
status.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
urn.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
urn_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00