Skip to content
This repository was archived by the owner on Mar 16, 2022. It is now read-only.

Commit 64ce382

Browse files
committed
change(v2) restriction
v2 restriction fix
1 parent f7a46e0 commit 64ce382

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Terraform/v2/functionapp.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,12 @@ resource "azurerm_function_app" "function" {
3939
version = "beta"
4040

4141
app_settings {
42+
# ZipDeploy with Run From Package : https://github.com/Azure/app-service-announcements/issues/110
43+
WEBSITE_RUN_FROM_ZIP = 1
44+
4245
# As of 2.0.1-beta.26 a worker runtime setting is required.
43-
FUNCTIONS_WORKER_RUNTIME = "dotnet"
46+
FUNCTIONS_WORKER_RUNTIME = "dotnet"
47+
4448
eventtrigger_slackchannel = "azurefunctions"
4549
key_vault_eventtriggerSlackwebhookurlSecretUri = "${azurerm_key_vault.this.vault_uri}secrets/${local.vault_secret_name_FUNCTION_APP_EVENTTRIGGER_SLACKWEBHOOKURL}"
4650
key_vault_secret_uri = "${azurerm_key_vault.this.vault_uri}secrets/${local.vault_secret_name_test}"

v2/src/AzureFunctionsIntroduction/AzureFunctionsIntroduction.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PackageReference Include="Microsoft.Azure.Services.AppAuthentication" Version="1.1.0-preview" />
1212
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="2.9.0" />
1313
<PackageReference Include="Microsoft.CodeAnalysis.Scripting" Version="2.9.0" />
14-
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="1.0.14" />
14+
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="1.0.19" />
1515
<PackageReference Include="Utf8Json" Version="1.3.7" />
1616
</ItemGroup>
1717
<ItemGroup>

0 commit comments

Comments
 (0)