The validation of the template fails. is based on restrictions
Expected behavior
Should not fail on the validation.
Current behavior
code": "InvalidTemplateDeployment",
"message": "The template deployment failed with error: 'The resource with id: '/subscriptions/d53bdfc8-4709-4943-bb57-f34c53495ea5/resourceGroups/test7/providers/Microsoft.Compute/virtualMachines/pan-fw' failed validation with message: 'The requested size for resource '/subscriptions/d53bdfc8-4709-4943-XXXX-f34cXXXXXX/resourceGroups/test7/providers/Microsoft.Compute/virtualMachines/pan-fw' is currently not available in location 'northcentralus' zones '' for subscription 'd53bdfc8-4709-4943-XXXXX-f34cXXXXXXX'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.'.'."
Possible solution
I changed on the template the size of the web server and dbserver. Looks like that VMs sizes are not available anymore on some regions.
I change the line: "gvmSize": "Standard_B1ls",
Steps to reproduce
Run the template on a PAYG license on different US locations
Describe the bug
The validation of the template fails. is based on restrictions
Expected behavior
Should not fail on the validation.
Current behavior
code": "InvalidTemplateDeployment", "message": "The template deployment failed with error: 'The resource with id: '/subscriptions/d53bdfc8-4709-4943-bb57-f34c53495ea5/resourceGroups/test7/providers/Microsoft.Compute/virtualMachines/pan-fw' failed validation with message: 'The requested size for resource '/subscriptions/d53bdfc8-4709-4943-XXXX-f34cXXXXXX/resourceGroups/test7/providers/Microsoft.Compute/virtualMachines/pan-fw' is currently not available in location 'northcentralus' zones '' for subscription 'd53bdfc8-4709-4943-XXXXX-f34cXXXXXXX'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.'.'."
Possible solution
I changed on the template the size of the web server and dbserver. Looks like that VMs sizes are not available anymore on some regions. I change the line: "gvmSize": "Standard_B1ls",
Steps to reproduce
Run the template on a PAYG license on different US locations