fix: Resolve a variety of bugs and update api version of private dns zone links resource #896
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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