diff --git a/internal/services/eventgrid/eventgrid_system_topic_event_subscription_resource_test.go b/internal/services/eventgrid/eventgrid_system_topic_event_subscription_resource_test.go index 9e5c3ab5d92d..9ad600cc98e5 100644 --- a/internal/services/eventgrid/eventgrid_system_topic_event_subscription_resource_test.go +++ b/internal/services/eventgrid/eventgrid_system_topic_event_subscription_resource_test.go @@ -846,8 +846,7 @@ resource "azurerm_servicebus_namespace" "example" { resource "azurerm_servicebus_queue" "test" { name = "acctestservicebusqueue-%[1]d" - resource_group_name = azurerm_resource_group.test.name - namespace_name = azurerm_servicebus_namespace.example.name + namespace_id = azurerm_servicebus_namespace.example.id enable_partitioning = true } @@ -890,8 +889,7 @@ resource "azurerm_servicebus_namespace" "example" { resource "azurerm_servicebus_topic" "test" { name = "acctestservicebustopic-%[1]d" - resource_group_name = azurerm_resource_group.test.name - namespace_name = azurerm_servicebus_namespace.example.name + namespace_id = azurerm_servicebus_namespace.example.id enable_partitioning = true } @@ -1442,8 +1440,7 @@ resource "azurerm_servicebus_namespace" "example" { resource "azurerm_servicebus_topic" "test" { name = "acctestservicebustopic-%[1]d" - resource_group_name = azurerm_resource_group.test.name - namespace_name = azurerm_servicebus_namespace.example.name + namespace_id = azurerm_servicebus_namespace.example.id enable_partitioning = true } @@ -1506,8 +1503,7 @@ resource "azurerm_servicebus_namespace" "example" { resource "azurerm_servicebus_topic" "test" { name = "acctestservicebustopic-%[1]d" - resource_group_name = azurerm_resource_group.test.name - namespace_name = azurerm_servicebus_namespace.example.name + namespace_id = azurerm_servicebus_namespace.example.id enable_partitioning = true } @@ -1562,8 +1558,7 @@ resource "azurerm_servicebus_namespace" "example" { resource "azurerm_servicebus_topic" "test" { name = "acctestservicebustopic-%[1]d" - resource_group_name = azurerm_resource_group.test.name - namespace_name = azurerm_servicebus_namespace.example.name + namespace_id = azurerm_servicebus_namespace.example.id enable_partitioning = true } @@ -1631,8 +1626,7 @@ resource "azurerm_servicebus_namespace" "example" { resource "azurerm_servicebus_topic" "test" { name = "acctestservicebustopic-%[1]d" - resource_group_name = azurerm_resource_group.test.name - namespace_name = azurerm_servicebus_namespace.example.name + namespace_id = azurerm_servicebus_namespace.example.id enable_partitioning = true }