F5Networks / f5-azure-arm-templates

Azure Resource Manager Templates for quickly deploying BIG-IP services in Azure
84 stars 118 forks source link

The instanceName can't end with "-" #227

Closed difanzhao closed 3 years ago

difanzhao commented 3 years ago

This is the template parameter file location https://github.com/F5Networks/f5-azure-arm-templates/blob/main/supported/failover/same-net/via-api/n-nic/existing-stack/byol/azuredeploy.parameters.json

For example. I set the instanceName to "uw2-arm-cld-01-ltm-qut-". When I do the validation with the template, I would get errors about the interfaces

"message":"Resource name -mgmt0 is invalid. The name can be up to 80 characters long. It must begin with a word character, and it must end with a word character or with ''. The name may contain word characters or '.', '-', ''."

This error will repeat for mgmt1, int0, int1, ext1 and ext2. It could be a limitation with the Azure resources. I still want to raise it here and see if there could be a workaround for this. Thanks

difanzhao commented 3 years ago

Sorry it turned out that it was because I didn't create a DNS name. Wondering why that is required. I am deploying an internal one so won't need public external IPs to be provisioned.