Azure / Azure/azure-quickstart-templates
Incorrect deployed name in the VMSS template
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
VMSS Linux template from
https://github.com/Azure/azure-quickstart-templates/blob/master/201-vmss-linux-nat/azuredeploy.json
trunkates the VMSS name to 9 characters and the name passed into the template is then not found after deployment succeeds
Around line 40:
"namingInfix": "[toLower(substring(concat(parameters('vmssName'), uniqueString(resourceGroup().id)), 0, 9))]",
and around line 145:
"type": "Microsoft.Compute/virtualMachineScaleSets",
"name": "[variables('namingInfix')]",
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with 201-vmss-linux-nat/azuredeploy.json at the namingInfix definition around line 40 and the Microsoft.Compute/virtualMachineScaleSets name around line 145. Reproduce a deployment using a VMSS name longer than nine characters, then verify that the deployed scale set retains the expected name and can be found afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100