From 870964120097b400d39cfef9ff5bd7f639d6ed5d Mon Sep 17 00:00:00 2001 From: cfi-azr-serviceuser Date: Tue, 1 Oct 2024 12:30:21 +0000 Subject: [PATCH] bugfix: azuread_application - remove computed attribute --- .../applications/application_password_resource_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/services/applications/application_password_resource_test.go b/internal/services/applications/application_password_resource_test.go index c18ff06ab..7841550d7 100644 --- a/internal/services/applications/application_password_resource_test.go +++ b/internal/services/applications/application_password_resource_test.go @@ -91,7 +91,7 @@ func TestAccApplicationPassword_with_ApplicationInlinePassword(t *testing.T) { Config: r.passwordsCombined(data, true), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), - check.That(data.ResourceName).Key("application_object_id").Exists(), + check.That(data.ResourceName).Key("application_id").Exists(), check.That(data.ResourceName).Key("end_date").Exists(), check.That(data.ResourceName).Key("key_id").Exists(), check.That(data.ResourceName).Key("start_date").Exists(), @@ -202,7 +202,7 @@ resource "azuread_application_password" "test" { func (r ApplicationPasswordResource) passwordsCombined(data acceptance.TestData, renderPassword bool) string { return fmt.Sprintf(` -provider "azuread" {} +#provider "azuread" {} data "azuread_client_config" "current" {} @@ -214,7 +214,7 @@ resource "azuread_application" "test" { } resource "azuread_application_password" "test" { - application_object_id = azuread_application.test.id + application_id = azuread_application.test.id display_name = "acctest-application-password-%[2]s" }