provider/azurerm: Make ARM template timeout 40m

Template deployments with multiple extensions can last more than 10
minutes. Fixing that by increasing the timeout to 40 minutes.
This commit is contained in:
Felivel Camilo 2016-04-23 16:41:20 -04:00 committed by James Nugent
parent 6c2b78cdef
commit ae38ef2e01
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ func resourceArmTemplateDeploymentCreate(d *schema.ResourceData, meta interface{
Pending: []string{"creating", "updating", "accepted", "running"},
Target: []string{"succeeded"},
Refresh: templateDeploymentStateRefreshFunc(client, resGroup, name),
Timeout: 10 * time.Minute,
Timeout: 40 * time.Minute,
}
if _, err := stateConf.WaitForState(); err != nil {
return fmt.Errorf("Error waiting for Template Deployment (%s) to become available: %s", name, err)