diff --git a/azurerm/internal/services/keyvault/tests/key_vault_certificate_resource_test.go b/azurerm/internal/services/keyvault/tests/key_vault_certificate_resource_test.go index cbfc295f15c7..9a1e4b13fd3b 100644 --- a/azurerm/internal/services/keyvault/tests/key_vault_certificate_resource_test.go +++ b/azurerm/internal/services/keyvault/tests/key_vault_certificate_resource_test.go @@ -112,7 +112,7 @@ func TestAccAzureRMKeyVaultCertificate_basicGenerate(t *testing.T) { resource.TestCheckResourceAttrSet(data.ResourceName, "secret_id"), resource.TestCheckResourceAttrSet(data.ResourceName, "certificate_data"), resource.TestCheckResourceAttrSet(data.ResourceName, "thumbprint"), - resource.TestCheckResourceAttrSet(data.ResourceName, "certificate_attribute"), + resource.TestCheckResourceAttrSet(data.ResourceName, "certificate_attribute.0.created"), ), }, data.ImportStep(),