From b6be981e73a26480a530ffff233c0d1ae490bd77 Mon Sep 17 00:00:00 2001 From: SevenEarth <391613297@qq.com> Date: Mon, 18 Aug 2025 15:41:38 +0800 Subject: [PATCH 1/2] add --- tencentcloud/services/cvm/resource_tc_instance.md | 2 ++ website/docs/r/instance.html.markdown | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tencentcloud/services/cvm/resource_tc_instance.md b/tencentcloud/services/cvm/resource_tc_instance.md index 950f85d47e..b15622f652 100644 --- a/tencentcloud/services/cvm/resource_tc_instance.md +++ b/tencentcloud/services/cvm/resource_tc_instance.md @@ -10,6 +10,8 @@ Provides a CVM instance resource. ~> **NOTE:** It is recommended to use resource `tencentcloud_eip` to create a AntiDDos Eip, and then call resource `tencentcloud_eip_association` to bind it to resource `tencentcloud_instance`. +~> **NOTE:** When creating a prepaid CVM instance and binding a data disk, you need to explicitly set `delete_with_instance` to `false`. + Example Usage Create a general POSTPAID_BY_HOUR CVM instance diff --git a/website/docs/r/instance.html.markdown b/website/docs/r/instance.html.markdown index ec80a599db..eaf5a3dc7c 100644 --- a/website/docs/r/instance.html.markdown +++ b/website/docs/r/instance.html.markdown @@ -21,6 +21,8 @@ Provides a CVM instance resource. ~> **NOTE:** It is recommended to use resource `tencentcloud_eip` to create a AntiDDos Eip, and then call resource `tencentcloud_eip_association` to bind it to resource `tencentcloud_instance`. +~> **NOTE:** When creating a prepaid CVM instance and binding a data disk, you need to explicitly set `delete_with_instance` to `false`. + ## Example Usage ### Create a general POSTPAID_BY_HOUR CVM instance From 5cdf12c05dd65463c81fa7948db7b571b270d0d3 Mon Sep 17 00:00:00 2001 From: SevenEarth <391613297@qq.com> Date: Mon, 18 Aug 2025 15:45:05 +0800 Subject: [PATCH 2/2] add --- .changelog/3480.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/3480.txt diff --git a/.changelog/3480.txt b/.changelog/3480.txt new file mode 100644 index 0000000000..2d37c88dea --- /dev/null +++ b/.changelog/3480.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/tencentcloud_instance: update doc +```