validation error if custom VNET + Windows
@@ -819,6 +819,9 @@ func validateVNET(a *Properties) error {
}
}
if isCustomVNET {
+ if a.HasWindows() {
+ return fmt.Errorf("custom VNET not yet supported with Windows-enabled clusters")
+ }
subscription, resourcegroup, vnetname, _, e := GetVNETSubnetIDComponents(a.MasterProfile.VnetSubnetID)
if e != nil {
return e
