terraform/helper/resource
Paul Hinze 108ccf0007 builtin: Refactor resource.Retry to clarify return
Change the `RetryFunc` from a plain `error` return type to a
specialized `RetryError` which must decide whether it is
retryable or not.

Add `RetryableError` / `NonRetryableError` factory functions that
callers are meant to use to build up these errors.

This makes it eminently clear whether or not a given error is
retryable from inside the client code.

Goal here is to _not_ change any behavior, simply reflect the
existing behavior with the new, clearer, API.
2016-03-09 17:37:56 -06:00
..
id.go helper: Add resource.PrefixedUniqueId 2015-06-30 12:54:54 +01:00
id_test.go helper/resource: add UniqueId() helper 2015-04-22 12:53:05 -05:00
map.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
map_test.go helper/resource: automatically validate resources 2014-07-08 10:17:36 -07:00
resource.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
state.go helper: Add StateChangeConf.ContinuousTargetOccurence (int) 2016-02-23 20:18:57 +00:00
state_test.go helper: Add StateChangeConf.ContinuousTargetOccurence (int) 2016-02-23 20:18:57 +00:00
testing.go acctests: log a line w/ the non-empty plan 2016-02-29 11:50:42 -06:00
testing_test.go providers: Mention check number when acctest fails 2016-02-02 10:57:28 -06:00
wait.go builtin: Refactor resource.Retry to clarify return 2016-03-09 17:37:56 -06:00
wait_test.go builtin: Refactor resource.Retry to clarify return 2016-03-09 17:37:56 -06:00