Skip to content

Commit

Permalink
Fix issue #460
Browse files Browse the repository at this point in the history
  • Loading branch information
hkantare authored and Praveengostu committed Apr 23, 2019
1 parent 4d72e4e commit 633f32f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ibm/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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 \<org\>_\<space\>. 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.

0 comments on commit 633f32f

Please sign in to comment.