Badgerati / Fogg

PowerShell tool to aide and simplify the creation, deployment and provisioning of infrastructure in Azure
MIT License
7 stars 2 forks source link

Re-use a subnet on a vnet if it matches a requires Address Prefix rather than Name #36

Closed Badgerati closed 7 years ago

Badgerati commented 7 years ago

When creating and re-using existing subnets on virtual networks, Fogg currently only looks to see if a subnet exists already by Name. But if the subnet was already created at a different time and not by Fogg - meaning different Name - then Fogg should attempt to see if the Address Prefix already exists for a subnet.