diff --git a/tencentcloud/data_source_tc_dnats.go b/tencentcloud/data_source_tc_nat_gateway_trules.go similarity index 100% rename from tencentcloud/data_source_tc_dnats.go rename to tencentcloud/data_source_tc_nat_gateway_trules.go diff --git a/tencentcloud/data_source_tc_dnats_test.go b/tencentcloud/data_source_tc_nat_gateway_trules_test.go similarity index 96% rename from tencentcloud/data_source_tc_dnats_test.go rename to tencentcloud/data_source_tc_nat_gateway_trules_test.go index a19fa2355c..860102cf99 100644 --- a/tencentcloud/data_source_tc_dnats_test.go +++ b/tencentcloud/data_source_tc_nat_gateway_trules_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/helper/resource" ) -func TestAccTencentCloudDataSourceDnatsBase(t *testing.T) { +func TestAccTencentCloudNatGatewayTransRuleDataSource(t *testing.T) { t.Parallel() resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, diff --git a/tencentcloud/resource_tc_dnat.go b/tencentcloud/resource_tc_nat_gateway_trule.go similarity index 100% rename from tencentcloud/resource_tc_dnat.go rename to tencentcloud/resource_tc_nat_gateway_trule.go diff --git a/tencentcloud/resource_tc_dnat_test.go b/tencentcloud/resource_tc_nat_gateway_trule_test.go similarity index 98% rename from tencentcloud/resource_tc_dnat_test.go rename to tencentcloud/resource_tc_nat_gateway_trule_test.go index 2107e9e5fb..48df6f4494 100644 --- a/tencentcloud/resource_tc_dnat_test.go +++ b/tencentcloud/resource_tc_nat_gateway_trule_test.go @@ -11,7 +11,7 @@ import ( "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper" ) -func TestAccTencentCloudDnat_basic(t *testing.T) { +func TestAccTencentCloudNatGatewayTransRule_basic(t *testing.T) { t.Parallel() var dnatId string