From 633f32f9e7ef38b1c37b48dc23b3c4673203e68b Mon Sep 17 00:00:00 2001 From: "hkantare@in.ibm.com" Date: Tue, 23 Apr 2019 12:10:37 +0530 Subject: [PATCH] Fix issue #460 --- ibm/provider.go | 4 ++-- website/docs/index.html.markdown | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ibm/provider.go b/ibm/provider.go index 4078b7f9a4..f08fad0a5f 100644 --- a/ibm/provider.go +++ b/ibm/provider.go @@ -67,8 +67,8 @@ func Provider() terraform.ResourceProvider { "max_retries": { Type: schema.TypeInt, Optional: true, - Description: "The retry count to set for any SoftLayer API calls.", - DefaultFunc: schema.EnvDefaultFunc("MAX_RETRIES", 5), + Description: "The retry count to set for API calls.", + DefaultFunc: schema.EnvDefaultFunc("MAX_RETRIES", 10), }, "function_namespace": { Type: schema.TypeString, diff --git a/website/docs/index.html.markdown b/website/docs/index.html.markdown index 3f9825d44e..04d02903e8 100644 --- a/website/docs/index.html.markdown +++ b/website/docs/index.html.markdown @@ -126,6 +126,6 @@ The following arguments are supported in the `provider` block: * `resource_group` - (optional) The Resource Group ID. You can also source it from the `BM_RESOURCE_GROUP` (higher precedence) or `BLUEMIX_RESOURCE_GROUP` environment variable. -* `max_retries` - (Optional) This is the maximum number of times an IBM Cloud infrastructure API call is retried, in the case where requests are getting network related timeout and rate limit exceeded error code. You can also source it from the `MAX_RETRIES` environment variable. The default value is `5`. +* `max_retries` - (Optional) This is the maximum number of times an IBM Cloud infrastructure API call is retried, in the case where requests are getting network related timeout and rate limit exceeded error code. You can also source it from the `MAX_RETRIES` environment variable. The default value is `10`. * `function_namespace` - (Optional) Your Cloud Functions namespace is composed from your IBM Cloud org and space like \_\. This attribute is required only when creating a Cloud Functions resource. It must be provided when you are creating such resources in IBM Cloud. You can also source it from the FUNCTION_NAMESPACE environment variable.