File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -70,12 +70,20 @@ resource "azapi_resource" "function" {
7070 },
7171 {
7272 name = " WEBSITE_RUN_FROM_PACKAGE"
73- value = " 1 "
73+ value = " 0 "
7474 },
7575 {
7676 name = " PYTHON_ENABLE_WORKER_EXTENSIONS"
7777 value = " 1"
7878 },
79+ {
80+ name = " ENABLE_ORYX_BUILD"
81+ value = " 1"
82+ },
83+ {
84+ name = " SCM_DO_BUILD_DURING_DEPLOYMENT"
85+ value = " 1"
86+ },
7987 {
8088 name = " AzureWebJobsStorage__accountName"
8189 value = azurerm_storage_account.storage.name
@@ -86,9 +94,10 @@ resource "azapi_resource" "function" {
8694 functionAppScaleLimit = 0
8795 functionsRuntimeScaleMonitoringEnabled = false
8896 ftpsState = " Disabled"
97+ healthCheckPath = var.function_health_path
8998 http20Enabled = false
9099 ipSecurityRestrictionsDefaultAction = " Deny"
91- linuxFxVersion = " Python|${ var . python_version } "
100+ linuxFxVersion = " Python|${ var . function_python_version } "
92101 localMySqlEnabled = false
93102 loadBalancing = " LeastRequests"
94103 minTlsVersion = " 1.2"
You can’t perform that action at this time.
0 commit comments