You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No changes were expected in the plan which was triggered as part of automatically upgrading the azuread provider from v2.43.0 to v2.44.0
Actual Behavior
The given plan would replace all azuread_application_password and azuread_application_certificate resources due to the changes observed in the application_object_id argument e.g.:
Hi @gpatounas, thanks for reporting this issue. As @beyondbill mentioned, the id attribute of azuread_application was not the supported attribute for referencing, the correct attribute to use here is object_id.
However, I have noticed that in the documentation for azuread_application_certificate, we incorrectly used the id attribute in the example configuration. This was an unfortunate documentation bug and, in the interest of avoiding breaking configurations where this confusion has led to configurations using id in place of object_id, we'll issue a fix for both these resources shortly.
Going forward, the application_object_id property has been deprecated and we'd therefore recommend updating your configuration, as soon as you are able, to use the following properties/attributes with provider versions 2.44 or later:
Community Note
Terraform (and AzureAD Provider) Version
Terraform v1.6.2
hashicorp/azuread v2.44.0
Affected Resource(s)
observed:
azuread_application_password
azuread_application_certificate
potentially any resource with the
application_object_id
argumentTerraform Configuration Files
Expected Behavior
No changes were expected in the plan which was triggered as part of automatically upgrading the
azuread
provider fromv2.43.0
tov2.44.0
Actual Behavior
The given plan would replace all
azuread_application_password
andazuread_application_certificate
resources due to the changes observed in theapplication_object_id
argument e.g.:Steps to Reproduce
Upgrade existing configuration which includes resources with the
application_object_id
argument toazuread
v2.44.0
The text was updated successfully, but these errors were encountered: