pulumi/pkg/resource/stack
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
..
testdata Add a version property to checkpoints 2018-03-10 13:03:05 -08:00
checkpoint.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
checkpoint_test.go Add license headers 2018-05-22 15:02:47 -07:00
deployment.go Fix malformed resource value bug (#6164) 2021-01-21 16:40:27 -07:00
deployment_test.go Fix malformed resource value bug (#6164) 2021-01-21 16:40:27 -07:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
secrets.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
secrets_test.go Allow pulumi stack export to decrypt secrets (#4046) 2020-05-11 19:16:30 +01:00