You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
Make domainNameLabelScope optional for VNG Public IP DNS settings (plus
API/module reference updates).
FixesAzure#5733ClosesAzure#5733
## Pipeline Reference
[](https://github.com/fabmas/bicep-registry-modules/actions/workflows/avm.res.network.virtual-network-gateway.yml)
| Pipeline |
| -------- |
## Type of Change
<!-- Use the checkboxes [x] on the options that are relevant. -->
- Azure Verified Module updates:
- [x] Bugfix containing backwards-compatible bug fixes, and I have NOT
bumped the MAJOR or MINOR version in `version.json`:
- [x] Feature update backwards compatible feature updates, and I have
bumped the MINOR version in `version.json`.
- [x] Breaking changes and I have bumped the MAJOR version in
`version.json`.
- [x] Update to documentation
- [x] Update to CI Environment or utilities (Non-module affecting
changes)
## Checklist
- [x] I'm sure there are no other open Pull Requests for the same
update/change
- [x] I have run `Set-AVMModule` locally to generate the supporting
module files.
- [x] My corresponding pipelines / checks run clean and green without
any errors or warnings
- [x] I have updated the module's CHANGELOG.md file with an entry for
the next version
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Copy file name to clipboardExpand all lines: avm/res/network/virtual-network-gateway/CHANGELOG.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,18 @@
2
2
3
3
The latest version of the changelog can be found [here](https://github.com/Azure/bicep-registry-modules/blob/main/avm/res/network/virtual-network-gateway/CHANGELOG.md).
4
4
5
+
## 0.10.1
6
+
7
+
### Changes
8
+
9
+
- Fixed hardcoded Public IP `dnsSettings.domainNameLabelScope` (preview feature) by making it optional/configurable to avoid deployment failures in regions where the feature isn't available.
10
+
- Updated existing `Microsoft.Network/publicIPAddresses` API version to `2025-01-01`.
11
+
- Updated referenced `br/public:avm/res/network/public-ip-address` module version to `0.10.0`.
|[`diagnosticSettings`](#parameter-diagnosticsettings)| array | The diagnostic settings of the service. |
2495
2500
|[`disableIPSecReplayProtection`](#parameter-disableipsecreplayprotection)| bool | disableIPSecReplayProtection flag. Used for VPN Gateways. |
2496
2501
|[`domainNameLabel`](#parameter-domainnamelabel)| array | DNS name(s) of the Public IP resource(s). If you enabled Active-Active mode, you need to provide 2 DNS names, if you want to use this feature. A region specific suffix will be appended to it, e.g.: your-DNS-name.westeurope.cloudapp.azure.com. |
2502
+
|[`domainNameLabelScope`](#parameter-domainnamelabelscope)| string | The domain name label scope for the Public IP DNS settings. This property is a preview feature and not available in all regions. If not specified, the property is omitted from the Public IP deployment. |
2497
2503
|[`enableBgpRouteTranslationForNat`](#parameter-enablebgproutetranslationfornat)| bool | EnableBgpRouteTranslationForNat flag. Can only be used when "natRules" are enabled on the Virtual Network Gateway. |
2498
2504
|[`enableDnsForwarding`](#parameter-enablednsforwarding)| bool | Whether DNS forwarding is enabled or not and is only supported for Express Route Gateways. The DNS forwarding feature flag must be enabled on the current subscription. |
2499
2505
|[`enablePrivateIpAddress`](#parameter-enableprivateipaddress)| bool | Whether private IP needs to be enabled on this gateway for connections or not. Used for configuring a Site-to-Site VPN connection over ExpressRoute private peering. |
@@ -3083,6 +3089,22 @@ DNS name(s) of the Public IP resource(s). If you enabled Active-Active mode, you
3083
3089
- Type: array
3084
3090
- Default: `[]`
3085
3091
3092
+
### Parameter: `domainNameLabelScope`
3093
+
3094
+
The domain name label scope for the Public IP DNS settings. This property is a preview feature and not available in all regions. If not specified, the property is omitted from the Public IP deployment.
3095
+
3096
+
- Required: No
3097
+
- Type: string
3098
+
- Allowed:
3099
+
```Bicep
3100
+
[
3101
+
'NoReuse'
3102
+
'ResourceGroupReuse'
3103
+
'SubscriptionReuse'
3104
+
'TenantReuse'
3105
+
]
3106
+
```
3107
+
3086
3108
### Parameter: `enableBgpRouteTranslationForNat`
3087
3109
3088
3110
EnableBgpRouteTranslationForNat flag. Can only be used when "natRules" are enabled on the Virtual Network Gateway.
@@ -3844,7 +3866,7 @@ This section gives you an overview of all local-referenced module files (i.e., o
@description('Optional. DNS name(s) of the Public IP resource(s). If you enabled Active-Active mode, you need to provide 2 DNS names, if you want to use this feature. A region specific suffix will be appended to it, e.g.: your-DNS-name.westeurope.cloudapp.azure.com.')
99
99
paramdomainNameLabelarray = []
100
100
101
+
@description('Optional. The domain name label scope for the Public IP DNS settings. This property is a preview feature and not available in all regions. If not specified, the property is omitted from the Public IP deployment.')
resourcesecondaryPublicIP'Microsoft.Network/publicIPAddresses@2024-05-01'existing = if (!empty(clusterSettings.?existingSecondaryPublicIPResourceId)) {
485
+
resourcesecondaryPublicIP'Microsoft.Network/publicIPAddresses@2025-01-01'existing = if (!empty(clusterSettings.?existingSecondaryPublicIPResourceId)) {
0 commit comments