File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 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" {
1616}
1717
1818resource "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
2223resource "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
2728resource "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" ]
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments