pulumi/pkg
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
..
apitype Fix spelling (#2567) 2019-03-19 11:35:17 -07:00
backend Use Go Modules for dependency tracking 2019-04-10 08:37:51 +04:00
diag Revert "Revert "Use result.Result pattern in more places. (#2573)" (#2575)" (#2577) 2019-03-21 13:23:46 -07:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Warn instead of error when `refresh`'d resource is unhealthy 2019-04-10 16:43:33 -07:00
graph Add license headers 2018-05-22 15:02:47 -07:00
operations Collect logs from Google Cloud Functions 2019-04-08 09:44:05 -07:00
resource Warn instead of error when `refresh`'d resource is unhealthy 2019-04-10 16:43:33 -07:00
testing Tweak how often we print 'in progress' messages during tests. (#2612) 2019-03-29 17:34:16 -07:00
tokens Adopt golangci-lint and address issues 2018-11-08 14:11:47 -08:00
tools Add a `WriteString` method to `tools/GenWriter`. (#1839) 2018-08-29 14:43:20 -07:00
util Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Load default providers deterministically (#2590) 2019-03-26 13:29:34 -07:00