When working with Azure Resource Manager (ARM) templates, you might see errors like following one:
'The domain name label dnsLBIP is invalid. It must conform to the following [ERROR] regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' |
In this case DNS Loadbalancer IP address was not named correctly. According to specified Regular-Expression the used name ‘dnsLBIP ‘ is not allowed.
Here are few examples: which might help to understand the expression:
Not correct:
aaaBBB
111aaa
Correct:
aaa123
aa-bb
aaa-bb-10
mydns-lbip
Posted
Mar 11 2016, 09:16 AM
by
Damir Dobric