Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

validation error if custom VNET + Windows #2168

Merged
merged 1 commit into from
Jan 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkg/api/vlabs/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down