This repository contains the Azure Landing Zones (ALZ) Bicep modules that help deliver and deploy the Azure Landing Zone conceptual architecture in a modular approach. https://aka.ms/alz/docs
MIT License
764
stars
514
forks
source link
fix: Resolve a variety of bugs and update api version of private dns zone links resource #896
This pull request includes several changes to the Bicep infrastructure code,#815 focusing on parameter handling for availability zones, adding tags to resources, and updating policy assignments. The most important changes are summarized below:
Availability Zones Handling:
Updated the logic for determining parAvailabilityZones to account for empty values to default to 2 availability zones and specific SKU conditions in various modules (modGatewayPublicIp, modGatewayPublicIpActiveActive, modGatewayPublicIpSecondaryLocation, modGatewayPublicIpActiveActiveSecondaryLocation) in hubNetworking-multiRegion.bicep and hubNetworking.bicep. [1][2][3][4][5][6]
Resource Tagging:
Added tags parameter to several resources in logging.bicep to ensure proper tagging of managed identities, automation accounts, and data collection rules. [1][2][3][4]
Policy Assignments:
Added parPolicyAssignmentIdentityRoleAssignmentsAdditionalMgs parameter to multiple policy assignment modules to include additional management groups for role assignments in alzDefaultPolicyAssignments.bicep. [1][2][3][4][5][6][7][8][9][10]
Private DNS Zone Links:
Updated the API version for resPrivateDnsZoneLinkToSpoke resource in privateDnsZoneLinks.bicep to 2024-06-01.
Overview/Summary
This pull request includes several changes to the Bicep infrastructure code,#815 focusing on parameter handling for availability zones, adding tags to resources, and updating policy assignments. The most important changes are summarized below:
Availability Zones Handling:
parAvailabilityZones
to account for empty values to default to 2 availability zones and specific SKU conditions in various modules (modGatewayPublicIp
,modGatewayPublicIpActiveActive
,modGatewayPublicIpSecondaryLocation
,modGatewayPublicIpActiveActiveSecondaryLocation
) inhubNetworking-multiRegion.bicep
andhubNetworking.bicep
. [1] [2] [3] [4] [5] [6]Resource Tagging:
tags
parameter to several resources inlogging.bicep
to ensure proper tagging of managed identities, automation accounts, and data collection rules. [1] [2] [3] [4]Policy Assignments:
parPolicyAssignmentIdentityRoleAssignmentsAdditionalMgs
parameter to multiple policy assignment modules to include additional management groups for role assignments inalzDefaultPolicyAssignments.bicep
. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Private DNS Zone Links:
resPrivateDnsZoneLinkToSpoke
resource inprivateDnsZoneLinks.bicep
to2024-06-01
.Related Issues/Work Items
Closes #815 Closes #883 Closes #800 Fixes AB#36976 Fixes AB#36410
Breaking Changes
None
Testing Evidence
Tested by deploying over the top of existing deployment of current release.
As part of this Pull Request I have
.bicep
file/s I am adding/editing are using the latest API version possiblemain
branch