Forum Discussion
vihaan0022
Feb 09, 2023Copper Contributor
Error while creating Bicep WebApp through Visual Code, PLEASE SUGGEST
My code: resource azbicepasp1 'Microsoft.Web/serverfarms@2020-12-01' = { name: 'azbicep-dev-esu-asp1' location: resourceGroup().location sku: { name: 'S1' capacity: 1 } } ...
Robina
Feb 11, 2023MCT
vihaan0022 The error message you are encountering indicates that you have exceeded the quota limit for the specified SKU in the region you are trying to deploy to. The error message says "This region has quota of 1 instances for your subscription. Try selecting different region or SKU." This means that you have already used one instance of the SKU "S1" in your subscription and you need to either choose a different SKU or a different region.
To resolve this issue, you can either:
- Change the SKU to a different one that has a higher quota in the region. You can check the available SKUs and their quotas in the Azure portal.
- Deploy to a different region that has a higher quota for the SKU you are trying to use. You can check the available quotas for different regions in the Azure portal.
Alternatively, you can also raise a support request with Azure support to increase the quota for the region and SKU you are trying to use.