Skip to content

core/host/functions.bicep - 'dotnetcore' is not a valid value for FUNCTIONS_WORKER_RUNTIME #2555

@mcollier

Description

@mcollier

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions