From acd4b90e4f4d90d81760fc81979cfd66ab71e2bc Mon Sep 17 00:00:00 2001 From: Andreas Isnes Date: Wed, 17 Jul 2024 10:51:03 +0200 Subject: [PATCH] add client config to key vault module --- infrastructure/modules/key_vault/main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infrastructure/modules/key_vault/main.tf b/infrastructure/modules/key_vault/main.tf index a52ac473..4a0fadc9 100644 --- a/infrastructure/modules/key_vault/main.tf +++ b/infrastructure/modules/key_vault/main.tf @@ -1,3 +1,5 @@ +data "azurerm_client_config" "current" {} + # https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#security data "azurerm_role_definition" "key_vault_administrator" { role_definition_id = "00482a5a-887f-4fb3-b363-3b7fe8e74483"