github Azure/ALZ-Bicep v0.10.0

latest releases: v0.19.3, v0.19.2, v0.19.1...
2 years ago

Breaking Changes

  • In privateDnsZones module the Private DNS Zones vNet linking name has been made unique to ensure can be used multiple times for vNets with the same names.
    • Old name Bicep Code: name: '${privateDnsZoneName}/${privateDnsZoneName}'
    • New name Bicep Code: name: '${privateDnsZoneName}/${take('link-${uniqueString(parVirtualNetworkIdToLink)}', 80)}'

What should we do?

If possible, move to the new naming format as this enables easier future expansion into other regions etc., if planned. You will need to remove the existing vNet links on each Private DNS Zone for the hub vNet or other vNet you may have specified.

You may also choose not to pull in this latest change to this specific module if you wish. However, be aware that if trying to link another vNet to the Private DNS Zone using the privateDnsZones module you will be unable to with the Old name bicep code (as shown above) due to the vNet link name will be the same, irrespective of the vNet name; which the new code does now use to create the name for the vNet link 👍

Important: If you run the privateDnsZones module, or another module like hubNetworking that calls the privateDnsZones module, over the top without being aware of these changes, you will likely see a deployment failure for the Private DNS Zone vNet links as it will try to re-create new vNet links for the same vNet but with different Private DNS Zone vNet link names, which is not possible in the platform as it will create a duplicate config.

What's Changed

  • Update Policy Library for Azure China (automated) by @github-actions in #289
  • Use latest API versions in all modules by @olljanat & @jtracey93 in #293
    • Also updated tests in ADO to use location from Key Vault completely, isntead of hardcoded to eastus in some places
  • Update docs and PR template to close #247 by @jtracey93 in #296
    • Added using latest API versions for resources to PR template and Contribution Guide

Full Changelog: v0.9.3...v0.10.0

Don't miss a new ALZ-Bicep release

NewReleases is sending notifications on new releases.