pulumi/pkg/engine
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
..
lifeycletest Fix malformed resource value bug (#6164) 2021-01-21 16:40:27 -07:00
deployment.go Improve resource ref unit tests. (#5960) 2020-12-16 12:38:20 -08:00
destroy.go Rename engine.plan to engine.deployment. (#5777) 2020-11-18 11:16:30 -08:00
diff.go Protect against engine event mutation. (#5003) 2020-07-16 23:52:31 -07:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
engine.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
errors.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
events.go Fix malformed resource value bug (#6164) 2021-01-21 16:40:27 -07:00
eventsink.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
import.go Rename engine.plan to engine.deployment. (#5777) 2020-11-18 11:16:30 -08:00
journal.go Refactor lifecycle tests. (#5575) 2020-10-15 10:35:09 -07:00
plugin_host.go Revise host mode. (#5317) 2020-09-14 17:40:17 -07:00
plugins.go .NET: Report plugin install errors during pulumi new (#5760) 2020-11-16 21:56:13 -08:00
plugins_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
project.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
query.go .NET: Report plugin install errors during pulumi new (#5760) 2020-11-16 21:56:13 -08:00
refresh.go Rename engine.plan to engine.deployment. (#5777) 2020-11-18 11:16:30 -08:00
snapshot.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
update.go Improve resource ref unit tests. (#5960) 2020-12-16 12:38:20 -08:00
update_test.go Improve PP naming for local PPs (#3839) 2020-01-30 13:31:41 -08:00