azure-dev
azure-dev copied to clipboard
core/host/functions.bicep - 'dotnetcore' is not a valid value for FUNCTIONS_WORKER_RUNTIME
- [x] Make sure you've installed the latest version using instructions in the wiki
Output from azd version
azd version 1.1.0 (commit ea9cb12575734ee6a5f99c4d415c1a51d6f32d3e)
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
Just a note that we do need this setting in appservice.bicep. I understand if not a function option, but please keep in appservice.
@ellismg @savannahostrowski adding it to the Germanium bucket. We can pull it into iterations/sprints as part of planning.