From ae38ef2e0198ff2e06ba87d0e3214fede2bded22 Mon Sep 17 00:00:00 2001 From: Felivel Camilo Date: Sat, 23 Apr 2016 16:41:20 -0400 Subject: [PATCH] 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. --- builtin/providers/azurerm/resource_arm_template_deployment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/azurerm/resource_arm_template_deployment.go b/builtin/providers/azurerm/resource_arm_template_deployment.go index fe425af62..33b8b0f8f 100644 --- a/builtin/providers/azurerm/resource_arm_template_deployment.go +++ b/builtin/providers/azurerm/resource_arm_template_deployment.go @@ -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)