Skip to content

Commit

Permalink
Upgrade to .NET 8 In-Proc (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
shibayan authored Jul 19, 2024
1 parent af3b06e commit 9958e4f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ resource "azurerm_windows_function_app" "function" {
https_only = true

app_settings = merge({
"WEBSITE_RUN_FROM_PACKAGE" = "https://stacmebotprod.blob.core.windows.net/keyvault-acmebot/v4/latest.zip"
"WEBSITE_TIME_ZONE" = var.time_zone
"FUNCTIONS_INPROC_NET8_ENABLED" = "1"
"WEBSITE_RUN_FROM_PACKAGE" = "https://stacmebotprod.blob.core.windows.net/keyvault-acmebot/v4/latest.zip"
"WEBSITE_TIME_ZONE" = var.time_zone
}, local.acmebot_app_settings, local.auth_app_settings, var.additional_app_settings)

dynamic "sticky_settings" {
Expand Down Expand Up @@ -124,7 +125,7 @@ resource "azurerm_windows_function_app" "function" {
scm_use_main_ip_restriction = true

application_stack {
dotnet_version = "v6.0"
dotnet_version = "v8.0"
}

dynamic "ip_restriction" {
Expand Down

0 comments on commit 9958e4f

Please sign in to comment.