ed37d07632
The AWS Go SDK automatically provides a default request retryer with exponential backoff that is invoked via setting `MaxRetries` or leaving it `nil` will default to 3. The terraform-aws-provider `config.Client()` sets `MaxRetries` to 0 unless explicitly configured above 0. Previously, we were not overriding this behavior by setting the configuration and therefore not invoking the default request retryer. The default retryer already handles HTTP error codes above 500, including S3's InternalError response, so the extraneous handling can be removed. This will also start automatically retrying many additional cases, such as temporary networking issues or other retryable AWS service responses. Changes: * s3/backend: Add `max_retries` argument * s3/backend: Enhance S3 NoSuchBucket error to include additional information |
||
---|---|---|
.. | ||
atlas | ||
init | ||
local | ||
remote | ||
remote-state | ||
backend.go | ||
cli.go | ||
nil.go | ||
nil_test.go | ||
operation_type.go | ||
operationtype_string.go | ||
testing.go | ||
unparsed_value.go |