From cc764fe28e05d6daae899968ab8f42a72cb45e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 17 May 2022 20:13:55 +0200 Subject: [PATCH] use python --- azure-functionapps.tf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/azure-functionapps.tf b/azure-functionapps.tf index b2807f4..01a8852 100644 --- a/azure-functionapps.tf +++ b/azure-functionapps.tf @@ -22,9 +22,13 @@ resource "azurerm_linux_function_app" "fa-hanyadikhet" { storage_account_name = azurerm_storage_account.sa-hanyadikhet-functionapp.name service_plan_id = azurerm_service_plan.sp-hanyadikhet-functionapp.id - application_stack { - python_version = "3.9" + app_settings = { + FUNCTIONS_WORKER_RUNTIME = "python" } - site_config {} + site_config { + application_stack { + python_version = "3.9" + } + } } \ No newline at end of file