Skip to content

Commit 86df44a

Browse files
authored
adding worker
1 parent 7b84757 commit 86df44a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

terraform/src/main.tf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ resource "azurerm_function_app" "function_app" {
6262
storage_account_access_key = azurerm_storage_account.storage.primary_access_key
6363
app_service_plan_id = azurerm_service_plan.asp.id
6464
os_type = "linux"
65-
runtime_stack = "python"
65+
66+
app_settings = {
67+
FUNCTIONS_WORKER_RUNTIME = "python"
68+
}
6669

6770
depends_on = [azurerm_service_plan.asp]
6871

@@ -132,4 +135,4 @@ resource "azurerm_key_vault" "keyvault" {
132135
provisioner "local-exec" {
133136
command = "echo Key Vault: ${self.name}"
134137
}
135-
}
138+
}

0 commit comments

Comments
 (0)