Skip to content

Custom Azure Policy to set a Maximum amount of address spaces allowed on VNET\'s

Notifications You must be signed in to change notification settings

PieterbasNagengast/AzurePolicy-VNETMaxAddressSpaces

Repository files navigation

bicepBuild

Azure Policy: Max VNET address spaces allowed

Description

Maximum amount of address spaces allowed on VNET's.

Background/Use case

Used in scenario's where you want to limit the amount of Address Spaces VNET's can have. The maximum allowed Address Spaces can be specified as parameter. If this policy is assigned:

  • Creation of VNETs which exeeds the Maximum Address Spaces specified in paramters are denied

NOTE: Existing VNET's which exceeds the Maximum Address Spaces specified in parameters will be marked as non-compliant in Azure Policy dashboard.

Deploy

  1. Deploy Policy to Management Group or Subscription level.
  2. Assign policy
Description Template
Deploy to Azure Management Group Deploy to Azure
Deploy to Azure Subscription Deploy to Azure

About

Custom Azure Policy to set a Maximum amount of address spaces allowed on VNET\'s

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages