diff --git a/internal/service/networkpeering/resource_network_peering_test.go b/internal/service/networkpeering/resource_network_peering_test.go index 8f4cc93c25..5677489d52 100644 --- a/internal/service/networkpeering/resource_network_peering_test.go +++ b/internal/service/networkpeering/resource_network_peering_test.go @@ -32,7 +32,6 @@ func TestAccNetworkRSNetworkPeering_Azure(t *testing.T) { subscriptionID = os.Getenv("AZURE_SUBSCRIPTION_ID") resourceGroupName = os.Getenv("AZURE_RESOURCE_GROUP_NAME") vNetName = os.Getenv("AZURE_VNET_NAME") - updatedvNetName = os.Getenv("AZURE_VNET_NAME_UPDATED") providerName = "AZURE" ) @@ -52,17 +51,6 @@ func TestAccNetworkRSNetworkPeering_Azure(t *testing.T) { resource.TestCheckResourceAttr(resourceName, "azure_directory_id", directoryID), ), }, - { - Config: configAzure(projectID, providerName, directoryID, subscriptionID, resourceGroupName, updatedvNetName), - Check: resource.ComposeTestCheckFunc( - checkExists(resourceName), - resource.TestCheckResourceAttrSet(resourceName, "project_id"), - resource.TestCheckResourceAttrSet(resourceName, "container_id"), - resource.TestCheckResourceAttr(resourceName, "provider_name", providerName), - resource.TestCheckResourceAttr(resourceName, "vnet_name", updatedvNetName), - resource.TestCheckResourceAttr(resourceName, "azure_directory_id", directoryID), - ), - }, { ResourceName: resourceName, ImportStateIdFunc: importStateIDFunc(resourceName),