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
What happened? Provide a clear and concise description of the bug, including deployment details.
When attempting to deploy Virtual WAN Hub connectivity using AS-Path routing preference for my hubs, I am presented with a validation error for providing the correct configuration value of ASPath, incorrectly indicating that I should choose instead ASN.
There is an error in the current type definition for the module:
@sys.description('The Virtual WAN Hub routing preference. The allowed values are `ASN`, `VpnGateway`, `ExpressRoute`.')
parHubRoutingPreference: ('ExpressRoute' | 'VpnGateway' | 'ASN')
Note the documentation for the ARM API version in use indicates the following enumerated values:
Name
Description
Value
hubRoutingPreference
The hubRoutingPreference of this VirtualHub.
'ASPath' 'ExpressRoute' 'VpnGateway'
The raw value is used directly in the module resource declaration as opposed to being mapped from ASN to the correct value, as replicated below:
Please provide the correlation id associated with your error or bug.
N/A for preflight template validation
What was the expected outcome?
Type validation should conform to the API version in use or map from the input value to a correct value for the API.
Relevant log output
New-AzResourceGroupDeployment: /home/vsts/work/1/s/pipeline-scripts/Deploy-ALZHub-VWAN.ps1:30
Line |
30 | New-AzResourceGroupDeployment @inputObject
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 14:53:06 - Error: Code=InvalidTemplate; Message=Deployment template
| validation failed: 'The provided value for the template parameter | 'parVirtualWanHubs[0].parHubRoutingPreference' is not valid. The value | 'ASPath' is not part of the allowed value(s): | 'ASN,ExpressRoute,VpnGateway'.'.
### Check previous GitHub issues
- [X] I have searched the issues for this item and found no duplicate
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened? Provide a clear and concise description of the bug, including deployment details.
When attempting to deploy Virtual WAN Hub connectivity using AS-Path routing preference for my hubs, I am presented with a validation error for providing the correct configuration value of
ASPath
, incorrectly indicating that I should choose insteadASN
.There is an error in the current type definition for the module:
Note the documentation for the ARM API version in use indicates the following enumerated values:
'ExpressRoute'
'VpnGateway'
The raw value is used directly in the module resource declaration as opposed to being mapped from
ASN
to the correct value, as replicated below:Please provide the correlation id associated with your error or bug.
N/A for preflight template validation
What was the expected outcome?
Type validation should conform to the API version in use or map from the input value to a correct value for the API.
Relevant log output
The text was updated successfully, but these errors were encountered: