diff --git a/parts/k8s/kubernetesmasterresourcesvmss.t b/parts/k8s/kubernetesmasterresourcesvmss.t index 2170e7d238..31600b4d42 100644 --- a/parts/k8s/kubernetesmasterresourcesvmss.t +++ b/parts/k8s/kubernetesmasterresourcesvmss.t @@ -171,7 +171,7 @@ "dnsSettings": { "domainNameLabel": "[variables('masterFqdnPrefix')]" }, - {{ if .MasterProfile.HasAvailabilityZones}} + {{ if eq LoadBalancerSku "Standard"}} "publicIPAllocationMethod": "Static" {{else}} "publicIPAllocationMethod": "Dynamic"