From 3809315af9dcef161348f4a9b9bbcf51ebcdf760 Mon Sep 17 00:00:00 2001 From: Nicki Watt Date: Mon, 23 Nov 2015 11:45:16 +0000 Subject: [PATCH] Upped default maxRetryTimeout from 30s -> 60s --- builtin/providers/vcd/provider.go | 4 ++-- website/source/docs/providers/vcd/index.html.markdown | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builtin/providers/vcd/provider.go b/builtin/providers/vcd/provider.go index 0e3d48d6c..aab15cedd 100644 --- a/builtin/providers/vcd/provider.go +++ b/builtin/providers/vcd/provider.go @@ -47,8 +47,8 @@ func Provider() terraform.ResourceProvider { "maxRetryTimeout": &schema.Schema{ Type: schema.TypeInt, Optional: true, - DefaultFunc: schema.EnvDefaultFunc("VCD_MAX_RETRY_TIMEOUT", 30), - Description: "Max num seconds to wait for successful response when operating on resources within vCloud (defaults to 30)", + DefaultFunc: schema.EnvDefaultFunc("VCD_MAX_RETRY_TIMEOUT", 60), + Description: "Max num seconds to wait for successful response when operating on resources within vCloud (defaults to 60)", }, }, diff --git a/website/source/docs/providers/vcd/index.html.markdown b/website/source/docs/providers/vcd/index.html.markdown index b47818c8c..d4d5e9d69 100644 --- a/website/source/docs/providers/vcd/index.html.markdown +++ b/website/source/docs/providers/vcd/index.html.markdown @@ -54,5 +54,5 @@ The following arguments are used to configure the VMware vCloud Director Provide amount of time (in seconds) you are prepared to wait for interactions on resources managed by vCloud Director to be successful. If a resource action fails, the action will be retried (as long as it is still within the `maxRetryTimeout` value) to try and ensure success. - Defaults to 30 seconds if not set. + Defaults to 60 seconds if not set. Can also be specified with the `VCD_MAX_RETRY_TIMEOUT` environment variable.