diff --git a/internal/services/dynatrace/dynatrace_tag_rules_resource_test.go b/internal/services/dynatrace/dynatrace_tag_rules_resource_test.go index 50a129c8b06e..f32a844e2932 100644 --- a/internal/services/dynatrace/dynatrace_tag_rules_resource_test.go +++ b/internal/services/dynatrace/dynatrace_tag_rules_resource_test.go @@ -118,7 +118,7 @@ func (r TagRulesResource) basic(data acceptance.TestData) string { %[1]s resource "azurerm_dynatrace_tag_rules" "test" { - name = "default" + name = "acctestragrules%d" monitor_id = azurerm_dynatrace_monitor.test.id log_rule { @@ -137,7 +137,7 @@ resource "azurerm_dynatrace_tag_rules" "test" { } } } -`, MonitorsResource{}.basic(data)) +`, MonitorsResource{}.basic(data), data.RandomInteger) } func (r TagRulesResource) complete(data acceptance.TestData) string { @@ -145,7 +145,7 @@ func (r TagRulesResource) complete(data acceptance.TestData) string { %[1]s resource "azurerm_dynatrace_tag_rules" "test" { - name = "default" + name = "acctestragrules%d" monitor_id = azurerm_dynatrace_monitor.test.id log_rule { @@ -167,7 +167,7 @@ resource "azurerm_dynatrace_tag_rules" "test" { } } } -`, MonitorsResource{}.basic(data)) +`, MonitorsResource{}.basic(data), data.RandomInteger) } func (r TagRulesResource) requiresImport(data acceptance.TestData) string {