From 7e60fdf34189dd82de0bf9ccbdd1c12a514c3406 Mon Sep 17 00:00:00 2001 From: osamamagdy Date: Sun, 17 Dec 2023 01:37:06 +0200 Subject: [PATCH] update azuread version Signed-off-by: osamamagdy --- azure/identity.tf | 5 +++-- azure/versions.tf | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/azure/identity.tf b/azure/identity.tf index 02700f38b7..4dc6a02947 100644 --- a/azure/identity.tf +++ b/azure/identity.tf @@ -16,7 +16,8 @@ resource "azuread_application" "app" { } resource "azuread_service_principal" "app" { - application_id = azuread_application.app.application_id + client_id = azuread_application.app.client_id + app_role_assignment_required = false } resource "azuread_service_principal_password" "app" { @@ -25,7 +26,7 @@ resource "azuread_service_principal_password" "app" { ## Azure AD federated identity used to federate kubernetes with Azure AD resource "azuread_application_federated_identity_credential" "app" { - application_object_id = azuread_application.app.object_id + application_id = azuread_application.app.application_id display_name = "fed-identity-app-wrongsecrets" description = "The federated identity used to federate K8s with Azure AD with the app service running in k8s wrongsecrets" audiences = ["api://AzureADTokenExchange"] diff --git a/azure/versions.tf b/azure/versions.tf index 1fa6987fe5..322e55a8ba 100644 --- a/azure/versions.tf +++ b/azure/versions.tf @@ -14,5 +14,9 @@ terraform { source = "hashicorp/http" version = "~> 3.4.0" } + azuread = { + source = "hashicorp/azuread" + version = "2.47.0" + } } }