Output from azd version
azd version 1.1.0 (commit ea9cb12)
Describe the bug
https://github.com/Azure/azure-dev/blob/main/templates/common/infra/bicep/core/host/functions.bicep includes 'dotnetcore' as a possible value for the Azure Functions runtime (via the FUNCTIONS_WORKER_RUNTIME application setting).
According to https://learn.microsoft.com/en-us/azure/azure-functions/functions-app-settings#functions_worker_runtime, 'dotnetcore' is not a valid value.
Expected behavior
A new input parameter should be created which is specific to the allowed Azure Functions runtime values, and then used when setting the FUNCTIONS_WORKER_RUNTIME setting.
@allowed([
'dotnet', 'dotnet-isolated', 'node', 'python', 'java', 'powershell', 'custom'
])
param functionsWorkerRuntime string