diff --git a/tencentcloud/resource_tc_kubernetes_cluster_attachment.go b/tencentcloud/resource_tc_kubernetes_cluster_attachment.go index 166c9714ea..8c3cbba8f8 100644 --- a/tencentcloud/resource_tc_kubernetes_cluster_attachment.go +++ b/tencentcloud/resource_tc_kubernetes_cluster_attachment.go @@ -175,7 +175,7 @@ func TkeInstanceAdvancedSetting() map[string]*schema.Schema { Type: schema.TypeString, ForceNew: true, Optional: true, - Description: "The name of the device or partition to mount.", + Description: "The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.", }, }, }, diff --git a/tencentcloud/resource_tc_sqlserver_readonly_instance.go b/tencentcloud/resource_tc_sqlserver_readonly_instance.go index 1b79582029..aa484a1789 100644 --- a/tencentcloud/resource_tc_sqlserver_readonly_instance.go +++ b/tencentcloud/resource_tc_sqlserver_readonly_instance.go @@ -4,12 +4,12 @@ Provides a SQL Server instance resource to create read-only database instances. Example Usage ```hcl -resource "tencentcloud_mysql_readonly_instance" "foo" { +resource "tencentcloud_sqlserver_readonly_instance" "foo" { name = "tf_sqlserver_instance_ro" availability_zone = "ap-guangzhou-4" charge_type = "POSTPAID_BY_HOUR" - vpc_id = "` + defaultVpcId + `" - subnet_id = "` + defaultSubnetId + `" + vpc_id = "vpc-xxxxxxxx" + subnet_id = "subnet-xxxxxxxx" memory = 2 storage = 10 master_instance_id = tencentcloud_sqlserver_instance.test.id diff --git a/website/docs/r/kubernetes_cluster_attachment.html.markdown b/website/docs/r/kubernetes_cluster_attachment.html.markdown index 858d8e3742..c02de23ca2 100644 --- a/website/docs/r/kubernetes_cluster_attachment.html.markdown +++ b/website/docs/r/kubernetes_cluster_attachment.html.markdown @@ -121,7 +121,7 @@ The following arguments are supported: The `data_disk` object supports the following: * `auto_format_and_mount` - (Optional, ForceNew) Indicate whether to auto format and mount or not. Default is `false`. -* `disk_partition` - (Optional, ForceNew) The name of the device or partition to mount. +* `disk_partition` - (Optional, ForceNew) The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error. * `disk_size` - (Optional, ForceNew) Volume of disk in GB. Default is `0`. * `disk_type` - (Optional, ForceNew) Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`. * `file_system` - (Optional, ForceNew) File system, e.g. `ext3/ext4/xfs`. diff --git a/website/docs/r/kubernetes_node_pool.html.markdown b/website/docs/r/kubernetes_node_pool.html.markdown index 1fd94984a6..0e5226075c 100644 --- a/website/docs/r/kubernetes_node_pool.html.markdown +++ b/website/docs/r/kubernetes_node_pool.html.markdown @@ -203,7 +203,7 @@ The `auto_scaling_config` object supports the following: The `data_disk` object supports the following: * `auto_format_and_mount` - (Optional, ForceNew) Indicate whether to auto format and mount or not. Default is `false`. -* `disk_partition` - (Optional, ForceNew) The name of the device or partition to mount. +* `disk_partition` - (Optional, ForceNew) The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error. * `disk_size` - (Optional, ForceNew) Volume of disk in GB. Default is `0`. * `disk_type` - (Optional, ForceNew) Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`. * `file_system` - (Optional, ForceNew) File system, e.g. `ext3/ext4/xfs`. diff --git a/website/docs/r/sqlserver_readonly_instance.html.markdown b/website/docs/r/sqlserver_readonly_instance.html.markdown index 8d6339ac34..cb5231150e 100644 --- a/website/docs/r/sqlserver_readonly_instance.html.markdown +++ b/website/docs/r/sqlserver_readonly_instance.html.markdown @@ -14,12 +14,12 @@ Provides a SQL Server instance resource to create read-only database instances. ## Example Usage ```hcl -resource "tencentcloud_mysql_readonly_instance" "foo" { +resource "tencentcloud_sqlserver_readonly_instance" "foo" { name = "tf_sqlserver_instance_ro" availability_zone = "ap-guangzhou-4" charge_type = "POSTPAID_BY_HOUR" - vpc_id = "` + defaultVpcId + `" - subnet_id = "` + defaultSubnetId + `" + vpc_id = "vpc-xxxxxxxx" + subnet_id = "subnet-xxxxxxxx" memory = 2 storage = 10 master_instance_id = tencentcloud_sqlserver_instance.test.id