Skip to content

Commit 2fea210

Browse files
committed
[fix some description]
1. fix some descriptions.
1 parent c463821 commit 2fea210

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

tencentcloud/extension_cynosdb.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func TencentCynosdbClusterBaseInfo() map[string]*schema.Schema {
102102
Type: schema.TypeInt,
103103
Optional: true,
104104
Default: 0,
105-
Description: "ID of the project.",
105+
Description: "ID of the project. `0` by default.",
106106
},
107107
"available_zone": {
108108
Type: schema.TypeString,
@@ -246,12 +246,12 @@ func TencentCynosdbClusterBaseInfo() map[string]*schema.Schema {
246246
"ip": {
247247
Type: schema.TypeString,
248248
Computed: true,
249-
Description: "IP address for readonly connection.",
249+
Description: "IP address for read-write connection.",
250250
},
251251
"port": {
252252
Type: schema.TypeInt,
253253
Computed: true,
254-
Description: "Port number for readonly connection.",
254+
Description: "Port number for read-write connection.",
255255
},
256256
},
257257
},

tencentcloud/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ CynosDB
206206
207207
Resource
208208
tencentcloud_cynosdb_cluster
209-
tencentcloud_cynosdb_readonly_instance
209+
tencentcloud_cynosdb_readonly_instance
210210
211211
Direct Connect(DC)
212212
Data Source

website/docs/r/cynosdb_cluster.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The following arguments are supported:
7575
* `instance_maintain_weekdays` - (Optional) Weekdays for maintenance. `["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]` by default.
7676
* `port` - (Optional) Port of CynosDB cluster.
7777
* `prepaid_period` - (Optional) The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to `PREPAID`.
78-
* `project_id` - (Optional) ID of the project.
78+
* `project_id` - (Optional) ID of the project. `0` by default.
7979
* `ro_group_sg` - (Optional) IDs of security group for `ro_group`.
8080
* `rw_group_sg` - (Optional) IDs of security group for `rw_group`.
8181
* `tags` - (Optional) The tags of the CynosDB cluster.
@@ -100,8 +100,8 @@ In addition to all arguments above, the following attributes are exported:
100100
* `instance_id` - ID of instance.
101101
* `instance_name` - Name of instance.
102102
* `rw_group_addr` - Read-write addresses. Each element contains the following attributes:
103-
* `ip` - IP address for readonly connection.
104-
* `port` - Port number for readonly connection.
103+
* `ip` - IP address for read-write connection.
104+
* `port` - Port number for read-write connection.
105105
* `rw_group_id` - Id of read-write instance group.
106106
* `rw_group_instances` - List of instances in the read-write instance group.
107107
* `instance_id` - ID of instance.

0 commit comments

Comments
 (0)