pulumi/pkg/resource
Pat Gavlin ab36b1116f
Handle unconfigured plugins in Diff. (#2238)
After #2088, we began calling `Diff` on providers that are not configured
due to unknown configuration values. This hit an assertion intended to
detect exactly this scenario, which was previously unexpected.

These changes adjust `Diff` to indicate that a Diff is unavailable and
return an error message that describes why. The step generator then
interprets the diff as indicating a normal update and issues the error
message to the diagnostic stream.

Fixes #2223.
2018-11-21 16:53:29 -08:00
..
config Don't fail on configuration keys like a:config:b:c 2018-11-20 14:14:37 -08:00
deploy Handle unconfigured plugins in Diff. (#2238) 2018-11-21 16:53:29 -08:00
edit Add new 'pulumi state' command for editing state (#2024) 2018-10-15 09:52:55 -07:00
graph Process deletions conservatively in parallel (#1963) 2018-09-27 15:49:08 -07:00
plugin Handle unconfigured plugins in Diff. (#2238) 2018-11-21 16:53:29 -08:00
provider Implement status sinks 2018-08-31 15:56:53 -07:00
stack Add a list of in-flight operations to the deployment (#1759) 2018-08-10 21:39:59 -07:00
testdata Fix asset bugs; write more tests 2017-10-24 09:00:11 -07:00
asset.go Tidy up some data structures (#2135) 2018-11-01 08:28:11 -07:00
asset_test.go Adopt golangci-lint and address issues 2018-11-08 14:11:47 -08:00
errors.go Add license headers 2018-05-22 15:02:47 -07:00
properties.go Support Pulumi programs written in Go 2018-06-08 10:36:10 -07:00
properties_diff.go Add license headers 2018-05-22 15:02:47 -07:00
properties_diff_test.go Add license headers 2018-05-22 15:02:47 -07:00
properties_test.go Add license headers 2018-05-22 15:02:47 -07:00
resource_goal.go Implement partial Read 2018-08-10 15:10:14 -07:00
resource_id.go Add license headers 2018-05-22 15:02:47 -07:00
resource_id_test.go Adopt golangci-lint and address issues 2018-11-08 14:11:47 -08:00
resource_operation.go Add a list of in-flight operations to the deployment (#1759) 2018-08-10 21:39:59 -07:00
resource_state.go Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
stack.go Make a smattering of CLI UX improvements 2018-09-24 08:43:46 -07:00
status.go Partial status for resource providers 2018-07-02 13:32:23 -07:00
urn.go Add license headers 2018-05-22 15:02:47 -07:00
urn_test.go Add license headers 2018-05-22 15:02:47 -07:00