Skip to content

Commit ae38ef2

Browse files
Feliveljen20
authored andcommitted
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.
1 parent 6c2b78c commit ae38ef2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

builtin/providers/azurerm/resource_arm_template_deployment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func resourceArmTemplateDeploymentCreate(d *schema.ResourceData, meta interface{
110110
Pending: []string{"creating", "updating", "accepted", "running"},
111111
Target: []string{"succeeded"},
112112
Refresh: templateDeploymentStateRefreshFunc(client, resGroup, name),
113-
Timeout: 10 * time.Minute,
113+
Timeout: 40 * time.Minute,
114114
}
115115
if _, err := stateConf.WaitForState(); err != nil {
116116
return fmt.Errorf("Error waiting for Template Deployment (%s) to become available: %s", name, err)

0 commit comments

Comments
 (0)