pulumi/pkg/resource/deploy
Joe Duffy 3b93199f7a Use Outputs instead of merged Inputs+Outputs (#2659)
Fixes #2650.

We have historically relied on merging inputs and outputs in several places in the engine. This used to be necessary, as discussed in #2650 (comment), but our core engine model has moved away from depending on this. However, we still have a couple places we do this merge, and those places have triggered several severe issues recently in subtle cases.

We believe that this merging should no longer be needed for a correct interpretation of the current engine model, and indeed that doing the merge actively violates the contract with providers. In this PR we remove the remaining places where this input + output merge was being done. In all three cases, we use just the Outputs, which for most providers will already include the same values as the inputs - but correctly as determined by the provider itself.
2019-04-22 13:52:36 -07:00
..
deploytest Load specific provider versions if requested (#2648) 2019-04-17 11:25:02 -07:00
providers Load specific provider versions if requested (#2648) 2019-04-17 11:25:02 -07:00
builtins.go Refresh inputs (#2531) 2019-03-11 13:50:00 -07:00
plan.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
plan_executor.go Revert "Revert "Use result.Result pattern in more places. (#2573)" (#2575)" (#2577) 2019-03-21 13:23:46 -07:00
plan_test.go Add an API for importing stack outputs (#2180) 2018-11-14 13:33:35 -08:00
snapshot.go Add a list of in-flight operations to the deployment (#1759) 2018-08-10 21:39:59 -07:00
source.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_error.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_eval.go Use Outputs instead of merged Inputs+Outputs (#2659) 2019-04-22 13:52:36 -07:00
source_eval_test.go Load specific provider versions if requested (#2648) 2019-04-17 11:25:02 -07:00
source_fixed.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_null.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
step.go Use Outputs instead of merged Inputs+Outputs (#2659) 2019-04-22 13:52:36 -07:00
step_executor.go Default to unbounded parallelism (#2065) 2018-10-17 15:33:26 -07:00
step_generator.go Use Go Modules for dependency tracking 2019-04-10 08:37:51 +04:00
target.go Add license headers 2018-05-22 15:02:47 -07:00