Skip to content

Commit

Permalink
update azuread version
Browse files Browse the repository at this point in the history
Signed-off-by: osamamagdy <[email protected]>
  • Loading branch information
osamamagdy committed Dec 16, 2023
1 parent 6eb5245 commit 7e60fdf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions azure/identity.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -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"]
Expand Down
4 changes: 4 additions & 0 deletions azure/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ terraform {
source = "hashicorp/http"
version = "~> 3.4.0"
}
azuread = {
source = "hashicorp/azuread"
version = "2.47.0"
}
}
}

0 comments on commit 7e60fdf

Please sign in to comment.