From 6da25830aceeb56010eb1bb7cd1ccb55fa732045 Mon Sep 17 00:00:00 2001 From: Alex Wilcox Date: Wed, 11 Dec 2024 17:19:37 +0000 Subject: [PATCH] Fix bugged tests --- internal/services/dns/dns_cname_record_resource_test.go | 2 +- internal/services/dns/dns_zone_resource_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/services/dns/dns_cname_record_resource_test.go b/internal/services/dns/dns_cname_record_resource_test.go index 51fdd40291bb..0aca2d386be0 100644 --- a/internal/services/dns/dns_cname_record_resource_test.go +++ b/internal/services/dns/dns_cname_record_resource_test.go @@ -470,7 +470,7 @@ resource "azurerm_dns_zone" "test" { } resource "azurerm_dns_cname_record" "test" { - name = "myarecord%d" + name = "mycnamerecord%d" resource_group_name = azurerm_resource_group.test.name zone_name = azurerm_dns_zone.test.name ttl = 300 diff --git a/internal/services/dns/dns_zone_resource_test.go b/internal/services/dns/dns_zone_resource_test.go index 3d5d5fb6a415..f484f6b7823e 100644 --- a/internal/services/dns/dns_zone_resource_test.go +++ b/internal/services/dns/dns_zone_resource_test.go @@ -236,7 +236,7 @@ provider "azurerm" { } resource "azurerm_resource_group" "test" { - name = "acctestRG-dns-%d" + name = "acctestRG-%d" location = "%s" } @@ -258,7 +258,7 @@ provider "azurerm" { } resource "azurerm_resource_group" "test" { - name = "acctestRG-dns-%d" + name = "acctestRG-%d" location = "%s" }