Skip to content

Commit 44b21b8

Browse files
authored
fix: SQLServer and TKE data disk document (#930)
1 parent 7582a9a commit 44b21b8

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

tencentcloud/resource_tc_kubernetes_cluster_attachment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func TkeInstanceAdvancedSetting() map[string]*schema.Schema {
175175
Type: schema.TypeString,
176176
ForceNew: true,
177177
Optional: true,
178-
Description: "The name of the device or partition to mount.",
178+
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.",
179179
},
180180
},
181181
},

tencentcloud/resource_tc_sqlserver_readonly_instance.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Provides a SQL Server instance resource to create read-only database instances.
44
Example Usage
55
66
```hcl
7-
resource "tencentcloud_mysql_readonly_instance" "foo" {
7+
resource "tencentcloud_sqlserver_readonly_instance" "foo" {
88
name = "tf_sqlserver_instance_ro"
99
availability_zone = "ap-guangzhou-4"
1010
charge_type = "POSTPAID_BY_HOUR"
11-
vpc_id = "` + defaultVpcId + `"
12-
subnet_id = "` + defaultSubnetId + `"
11+
vpc_id = "vpc-xxxxxxxx"
12+
subnet_id = "subnet-xxxxxxxx"
1313
memory = 2
1414
storage = 10
1515
master_instance_id = tencentcloud_sqlserver_instance.test.id

website/docs/r/kubernetes_cluster_attachment.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ The following arguments are supported:
121121
The `data_disk` object supports the following:
122122

123123
* `auto_format_and_mount` - (Optional, ForceNew) Indicate whether to auto format and mount or not. Default is `false`.
124-
* `disk_partition` - (Optional, ForceNew) The name of the device or partition to mount.
124+
* `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.
125125
* `disk_size` - (Optional, ForceNew) Volume of disk in GB. Default is `0`.
126126
* `disk_type` - (Optional, ForceNew) Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.
127127
* `file_system` - (Optional, ForceNew) File system, e.g. `ext3/ext4/xfs`.

website/docs/r/kubernetes_node_pool.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ The `auto_scaling_config` object supports the following:
203203
The `data_disk` object supports the following:
204204

205205
* `auto_format_and_mount` - (Optional, ForceNew) Indicate whether to auto format and mount or not. Default is `false`.
206-
* `disk_partition` - (Optional, ForceNew) The name of the device or partition to mount.
206+
* `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.
207207
* `disk_size` - (Optional, ForceNew) Volume of disk in GB. Default is `0`.
208208
* `disk_type` - (Optional, ForceNew) Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.
209209
* `file_system` - (Optional, ForceNew) File system, e.g. `ext3/ext4/xfs`.

website/docs/r/sqlserver_readonly_instance.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ Provides a SQL Server instance resource to create read-only database instances.
1414
## Example Usage
1515

1616
```hcl
17-
resource "tencentcloud_mysql_readonly_instance" "foo" {
17+
resource "tencentcloud_sqlserver_readonly_instance" "foo" {
1818
name = "tf_sqlserver_instance_ro"
1919
availability_zone = "ap-guangzhou-4"
2020
charge_type = "POSTPAID_BY_HOUR"
21-
vpc_id = "` + defaultVpcId + `"
22-
subnet_id = "` + defaultSubnetId + `"
21+
vpc_id = "vpc-xxxxxxxx"
22+
subnet_id = "subnet-xxxxxxxx"
2323
memory = 2
2424
storage = 10
2525
master_instance_id = tencentcloud_sqlserver_instance.test.id

0 commit comments

Comments
 (0)