Skip to content

Commit 7e60fdf

Browse files
committed
update azuread version
Signed-off-by: osamamagdy <osamamagdy174@gmail.com>
1 parent 6eb5245 commit 7e60fdf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

azure/identity.tf

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ resource "azuread_application" "app" {
1616
}
1717

1818
resource "azuread_service_principal" "app" {
19-
application_id = azuread_application.app.application_id
19+
client_id = azuread_application.app.client_id
20+
app_role_assignment_required = false
2021
}
2122

2223
resource "azuread_service_principal_password" "app" {
@@ -25,7 +26,7 @@ resource "azuread_service_principal_password" "app" {
2526

2627
## Azure AD federated identity used to federate kubernetes with Azure AD
2728
resource "azuread_application_federated_identity_credential" "app" {
28-
application_object_id = azuread_application.app.object_id
29+
application_id = azuread_application.app.application_id
2930
display_name = "fed-identity-app-wrongsecrets"
3031
description = "The federated identity used to federate K8s with Azure AD with the app service running in k8s wrongsecrets"
3132
audiences = ["api://AzureADTokenExchange"]

azure/versions.tf

+4
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,9 @@ terraform {
1414
source = "hashicorp/http"
1515
version = "~> 3.4.0"
1616
}
17+
azuread = {
18+
source = "hashicorp/azuread"
19+
version = "2.47.0"
20+
}
1721
}
1822
}

0 commit comments

Comments
 (0)