From fa415222df88815908d97b8cdff8a599ec0723ff Mon Sep 17 00:00:00 2001 From: Andreas Isnes Date: Tue, 8 Oct 2024 18:13:48 +0200 Subject: [PATCH] add client_id as env variablew --- src/apps/Altinn.Authorization.DeployApi/deploy/main.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apps/Altinn.Authorization.DeployApi/deploy/main.tf b/src/apps/Altinn.Authorization.DeployApi/deploy/main.tf index 3e885a55..743c12d0 100644 --- a/src/apps/Altinn.Authorization.DeployApi/deploy/main.tf +++ b/src/apps/Altinn.Authorization.DeployApi/deploy/main.tf @@ -29,9 +29,8 @@ module "app" { source = "../../../../infra/modules/container_app_api" user_assigned_identities = [data.azurerm_user_assigned_identity.application_admin.id] - variables = { - "ManagedIdentity__ClientId" = data.azurerm_user_assigned_identity.application_admin.id + "ManagedIdentity__ClientId" = data.azurerm_user_assigned_identity.application_admin.client_id } instance = var.instance