From c298f78c5363d885c973ef045cc59532ec2817f1 Mon Sep 17 00:00:00 2001 From: anonymous Date: Fri, 24 Mar 2023 15:34:21 +0800 Subject: [PATCH 1/4] fix: Stop the automated test of tencentcloud_teo_dns_record --- tencentcloud/resource_tc_teo_dns_record.go | 2 ++ tencentcloud/resource_tc_teo_dns_record_test.go | 2 +- website/docs/r/teo_dns_record.html.markdown | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tencentcloud/resource_tc_teo_dns_record.go b/tencentcloud/resource_tc_teo_dns_record.go index 676bc2e342..aae746da7f 100644 --- a/tencentcloud/resource_tc_teo_dns_record.go +++ b/tencentcloud/resource_tc_teo_dns_record.go @@ -1,6 +1,8 @@ /* Provides a resource to create a teo dns_record +~> **NOTE:** Teo product planning changes, this resource will be offline soon + Example Usage ```hcl diff --git a/tencentcloud/resource_tc_teo_dns_record_test.go b/tencentcloud/resource_tc_teo_dns_record_test.go index ab711d77fb..1db2641c38 100644 --- a/tencentcloud/resource_tc_teo_dns_record_test.go +++ b/tencentcloud/resource_tc_teo_dns_record_test.go @@ -46,7 +46,7 @@ func testSweepDnsRecord(region string) error { } // go test -i; go test -test.run TestAccTencentCloudTeoDnsRecord_basic -v -func TestAccTencentCloudTeoDnsRecord_basic(t *testing.T) { +func TestAccTencentCloudNeedFixTeoDnsRecord_basic(t *testing.T) { t.Parallel() resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheckCommon(t, ACCOUNT_TYPE_PRIVATE) }, diff --git a/website/docs/r/teo_dns_record.html.markdown b/website/docs/r/teo_dns_record.html.markdown index f22e322be9..f426875571 100644 --- a/website/docs/r/teo_dns_record.html.markdown +++ b/website/docs/r/teo_dns_record.html.markdown @@ -11,6 +11,8 @@ description: |- Provides a resource to create a teo dns_record +~> **NOTE:** Teo product planning changes, this resource will be offline soon + ## Example Usage ```hcl From 602084fd01ce50b45cf727d917abbb5c1464288f Mon Sep 17 00:00:00 2001 From: anonymous Date: Mon, 27 Mar 2023 16:53:52 +0800 Subject: [PATCH 2/4] fix: modify doc --- tencentcloud/resource_tc_teo_dns_record.go | 2 +- website/docs/r/teo_dns_record.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tencentcloud/resource_tc_teo_dns_record.go b/tencentcloud/resource_tc_teo_dns_record.go index aae746da7f..c33f606597 100644 --- a/tencentcloud/resource_tc_teo_dns_record.go +++ b/tencentcloud/resource_tc_teo_dns_record.go @@ -1,7 +1,7 @@ /* Provides a resource to create a teo dns_record -~> **NOTE:** Teo product planning changes, this resource will be offline soon +~> **NOTE:** The teo product planning has changed, and the resource will soon be deprecated. Example Usage diff --git a/website/docs/r/teo_dns_record.html.markdown b/website/docs/r/teo_dns_record.html.markdown index f426875571..b4e6186ff3 100644 --- a/website/docs/r/teo_dns_record.html.markdown +++ b/website/docs/r/teo_dns_record.html.markdown @@ -11,7 +11,7 @@ description: |- Provides a resource to create a teo dns_record -~> **NOTE:** Teo product planning changes, this resource will be offline soon +~> **NOTE:** The teo product planning has changed, and the resource will soon be deprecated. ## Example Usage From 341206a97384e69d8a92ee7219bca245bb3858e7 Mon Sep 17 00:00:00 2001 From: anonymous Date: Mon, 27 Mar 2023 17:10:50 +0800 Subject: [PATCH 3/4] fix: modify doc --- tencentcloud/resource_tc_teo_dns_record.go | 2 +- website/docs/r/teo_dns_record.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tencentcloud/resource_tc_teo_dns_record.go b/tencentcloud/resource_tc_teo_dns_record.go index c33f606597..df4f9f74ae 100644 --- a/tencentcloud/resource_tc_teo_dns_record.go +++ b/tencentcloud/resource_tc_teo_dns_record.go @@ -1,7 +1,7 @@ /* Provides a resource to create a teo dns_record -~> **NOTE:** The teo product planning has changed, and the resource will soon be deprecated. +~> **NOTE:** This resource will be deprecated later since the TEO product planning changed. Example Usage diff --git a/website/docs/r/teo_dns_record.html.markdown b/website/docs/r/teo_dns_record.html.markdown index b4e6186ff3..b7c2cfe86d 100644 --- a/website/docs/r/teo_dns_record.html.markdown +++ b/website/docs/r/teo_dns_record.html.markdown @@ -11,7 +11,7 @@ description: |- Provides a resource to create a teo dns_record -~> **NOTE:** The teo product planning has changed, and the resource will soon be deprecated. +~> **NOTE:** This resource will be deprecated later since the TEO product planning changed. ## Example Usage From bb6d551388f7cefde84f5c33097d612947ede7de Mon Sep 17 00:00:00 2001 From: anonymous Date: Mon, 27 Mar 2023 19:20:16 +0800 Subject: [PATCH 4/4] fix: modify doc --- tencentcloud/resource_tc_teo_dns_record.go | 2 +- website/docs/r/teo_dns_record.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tencentcloud/resource_tc_teo_dns_record.go b/tencentcloud/resource_tc_teo_dns_record.go index df4f9f74ae..418c05cc12 100644 --- a/tencentcloud/resource_tc_teo_dns_record.go +++ b/tencentcloud/resource_tc_teo_dns_record.go @@ -1,7 +1,7 @@ /* Provides a resource to create a teo dns_record -~> **NOTE:** This resource will be deprecated later since the TEO product planning changed. +~> **NOTE:** This resource has been deprecated in Terraform TencentCloud Provider Version 1.79.19. Example Usage diff --git a/website/docs/r/teo_dns_record.html.markdown b/website/docs/r/teo_dns_record.html.markdown index b7c2cfe86d..ea20419d2e 100644 --- a/website/docs/r/teo_dns_record.html.markdown +++ b/website/docs/r/teo_dns_record.html.markdown @@ -11,7 +11,7 @@ description: |- Provides a resource to create a teo dns_record -~> **NOTE:** This resource will be deprecated later since the TEO product planning changed. +~> **NOTE:** This resource has been deprecated in Terraform TencentCloud Provider Version 1.79.19. ## Example Usage