Open msclbu opened 1 year ago
@msclbu Thanks for your feedback! We will investigate and update as appropriate.
@msclbu , "computeMode": "Dynamic" works for me when I use it in the json ARM template. Please try this ARM template for reference : https://github.com/Azure-Samples/function-app-arm-templates/tree/main/function-app-windows-consumption
@MughundhanRaveendran-MSFT Please see screenshot of a Bicep template:
@msclbu , You can use the following bicep template to deploy the function on the consumption plan. I will investigate this issue in the meantime
resource hostingPlan 'Microsoft.Web/serverfarms@2021-03-01' = { name: hostingPlanName location: location sku: { name: 'Y1' tier: 'Dynamic' } properties: {} }
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/azure-functions/functions-infrastructure-as-code.md
In the section on creating a consumption plan, the serverfarms schema contains incorrect information.
The property "computeMode" is invalid on template validation and even throws a warning of invalid property within vsCode.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.