Skip to content

Commit

Permalink
Omit MICROSOFT_PROVIDER_AUTHENTICATION_SECRET when not applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
pipalmic committed Feb 10, 2025
1 parent 531c548 commit a11dcd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/azure/logic_app_standard/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ 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 : ""}"
MICROSOFT_PROVIDER_AUTHENTICATION_SECRET = var.managed_identity_provider == null ? azuread_application_password.password[0].value : null
}, var.app_settings)

app_service_plan_id = var.service_plan_id
Expand Down

0 comments on commit a11dcd9

Please sign in to comment.