fortinet/fortigate-autoscale-azure

ResourcePrefixName

fshuva opened this issue · 1 comments

the Resource Name Prefix, template description is the following

        "ResourceNamePrefix": {
            "maxLength": 10,
            "type": "String",
            "metadata": {
                "description": "The prefix for all applicable resource names. Can only contain uppercase letters, lowercase letters, and numbers. Maximum length is 10."
            }

However, when i attempted to use a name with uppercase letters, I got this error from the Template Validation step in portal(it was failing my automation deployments as well)

{
  "code": "InvalidTemplateDeployment",
  "details": [
    {
      "code": "InvalidDomainNameLabel",
      "message": "The domain name label TestQAw5eeukhy is invalid. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.",
      "details": []
    }
  ],
  "message": "The template deployment 'Microsoft.Template-20210510022636' is not valid according to the validation procedure. The tracking id is 'cbd8e1a9-74de-476d-ba57-26a9c61d519a'. See inner errors for details."
}

Need to update the hint we are providing to the user.

Documentation update:
The description has been updated to:
The prefix for all applicable resource names. Can only contain lowercase letters and numbers. Maximum length is 10."