drop polling delay to 5 seconds
@@ -9,6 +9,7 @@ import (
"os"
"path/filepath"
"strings"
+ "time"
"github.com/Azure/azure-sdk-for-go/arm/compute"
"github.com/Azure/azure-sdk-for-go/arm/network"
@@ -241,6 +242,8 @@ func getClient(env azure.Environment, subscriptionID string, armSpt *adal.Servic
c.providersClient.Authorizer = authorizer
c.virtualMachinesClient.Authorizer = authorizer
+ c.deploymentsClient.PollingDelay = time.Second * 5
+
err := c.ensureProvidersRegistered(subscriptionID)
if err != nil {
return nil, err
