pulumi/pkg/resource/deploy
Alex Clemmer fac6944781 Warn instead of error when refresh'd resource is unhealthy
Fixes #2633.

Currently when a user runs `refresh` and a resource is in a state of
error, the `refresh` will fail and the resource state will not be
persisted. This can make it vastly harder to incrementally fix
infrastructure. The issue mentioned above explains more of the
historical context, as well as some specific failure modes.

This commit resolves this issue by causing refresh to *not* report an
error in this case, and instead to simply log a warning that the
`refresh` has recognized that the resource is in an unhealthy state
during state sync.
2019-04-10 16:43:33 -07:00
..
deploytest Allows the nodejs launcher to recognize that certain types of errors were printed, ensuring we don't cascade less relevant messages. (#2554) 2019-03-20 11:54:32 -07:00
providers Install missing plugins on startup (#2560) 2019-03-15 15:01:37 -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 Allows the nodejs launcher to recognize that certain types of errors were printed, ensuring we don't cascade less relevant messages. (#2554) 2019-03-20 11:54:32 -07:00
source_eval_test.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -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 Warn instead of error when refresh'd resource is unhealthy 2019-04-10 16:43:33 -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