Skip to content

Commit

Permalink
Updated appsettings configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pipalmic committed Feb 11, 2025
1 parent 8b93e56 commit 90ec974
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/azure/logic_app_standard/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,9 @@ resource "azurerm_logic_app_standard" "app" {
}

app_settings = merge({
WEBSITE_NODE_DEFAULT_VERSION = "~18",
FUNCTIONS_WORKER_RUNTIME = "node",
MICROSOFT_PROVIDER_AUTHENTICATION_SECRET = var.managed_identity_provider != null ? azuread_application_password.password[0].value : null
}, var.app_settings)
WEBSITE_NODE_DEFAULT_VERSION = "~18",
FUNCTIONS_WORKER_RUNTIME = "node"
}, var.managed_identity_provider != null ? { MICROSOFT_PROVIDER_AUTHENTICATION_SECRET = azuread_application_password.password[0].value } : {}, var.app_settings)

app_service_plan_id = var.service_plan_id
storage_account_access_key = var.storage_account_access_key
Expand Down

0 comments on commit 90ec974

Please sign in to comment.