diff --git a/CHANGELOG.md b/CHANGELOG.md index da652ba..5532b6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# Unreleased + +Changed + * [GH-1](https://github.com/claranet/terraform-azurerm-service-principal/pull/1): `azuread_application` attribute `application_id` has been deprecated. + # v7.2.1 - 2023-08-18 Fixed diff --git a/README.md b/README.md index 8606f87..eec040c 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ module "sp" { | Name | Version | |------|---------| -| azuread | ~> 2.0 | +| azuread | ~> 2.44 | | azurerm | ~> 3.0 | | random | ~> 3.5 | diff --git a/outputs.tf b/outputs.tf index 2b95e15..52df5ca 100644 --- a/outputs.tf +++ b/outputs.tf @@ -5,7 +5,7 @@ output "sp_name" { output "sp_app_id" { description = "Azure Service Principal App ID." - value = azuread_application.aad_app.application_id + value = azuread_application.aad_app.client_id } output "sp_object_id" { @@ -32,4 +32,4 @@ output "sp_role_scope_assignment" { output "sp_aad_groups" { description = "Azure Service Principal AAD groups membership." value = var.sp_groups_member -} \ No newline at end of file +} diff --git a/versions.tf b/versions.tf index aa6f8e0..0d61c94 100644 --- a/versions.tf +++ b/versions.tf @@ -7,7 +7,7 @@ terraform { } azuread = { source = "hashicorp/azuread" - version = "~> 2.0" + version = "~> 2.44" } random = { source = "hashicorp/random"