File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ resource "azuread_application" "app" {
16
16
}
17
17
18
18
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
20
21
}
21
22
22
23
resource "azuread_service_principal_password" "app" {
@@ -25,7 +26,7 @@ resource "azuread_service_principal_password" "app" {
25
26
26
27
# # Azure AD federated identity used to federate kubernetes with Azure AD
27
28
resource "azuread_application_federated_identity_credential" "app" {
28
- application_object_id = azuread_application. app . object_id
29
+ application_id = azuread_application. app . application_id
29
30
display_name = " fed-identity-app-wrongsecrets"
30
31
description = " The federated identity used to federate K8s with Azure AD with the app service running in k8s wrongsecrets"
31
32
audiences = [" api://AzureADTokenExchange" ]
Original file line number Diff line number Diff line change @@ -14,5 +14,9 @@ terraform {
14
14
source = " hashicorp/http"
15
15
version = " ~> 3.4.0"
16
16
}
17
+ azuread = {
18
+ source = " hashicorp/azuread"
19
+ version = " 2.47.0"
20
+ }
17
21
}
18
22
}
You can’t perform that action at this time.
0 commit comments