Skip to content

Commit 1891185

Browse files
committed
[optimize document]
1. main not father
1 parent c64dbc0 commit 1891185

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tencentcloud/resource_tc_mongodb_standby_instance.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ func resourceTencentCloudMongodbStandbyInstance() *schema.Resource {
7575
Type: schema.TypeString,
7676
ForceNew: true,
7777
Required: true,
78-
Description: "Indicates the region of father instance.",
78+
Description: "Indicates the region of main instance.",
7979
},
8080
"father_instance_id": {
8181
Type: schema.TypeString,
8282
ForceNew: true,
8383
Required: true,
84-
Description: "Indicates the father instance ID of standby instances.",
84+
Description: "Indicates the main instance ID of standby instances.",
8585
},
8686
"available_zone": {
8787
Type: schema.TypeString,
@@ -93,12 +93,12 @@ func resourceTencentCloudMongodbStandbyInstance() *schema.Resource {
9393
"engine_version": {
9494
Type: schema.TypeString,
9595
Computed: true,
96-
Description: "Version of the standby Mongodb instance and must be same as the father's.",
96+
Description: "Version of the standby Mongodb instance and must be same as the version of main instance.",
9797
},
9898
"machine_type": {
9999
Type: schema.TypeString,
100100
Computed: true,
101-
Description: "Type of standby Mongodb instance and must be same as the father's.",
101+
Description: "Type of standby Mongodb instance and must be same as the type of main instance.",
102102
},
103103
}
104104
basic := TencentMongodbBasicInfo()

website/docs/r/mongodb_standby_instance.html.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ resource "tencentcloud_mongodb_standby_instance" "mongodb" {
5959
The following arguments are supported:
6060

6161
* `available_zone` - (Required, ForceNew) The available zone of the Mongodb standby instance. NOTE: must not be same with father instance's.
62-
* `father_instance_id` - (Required, ForceNew) Indicates the father instance ID of standby instances.
63-
* `father_instance_region` - (Required, ForceNew) Indicates the region of father instance.
62+
* `father_instance_id` - (Required, ForceNew) Indicates the main instance ID of standby instances.
63+
* `father_instance_region` - (Required, ForceNew) Indicates the region of main instance.
6464
* `instance_name` - (Required) Name of the Mongodb instance.
6565
* `memory` - (Required) Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
6666
* `volume` - (Required) Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
@@ -79,8 +79,8 @@ In addition to all arguments above, the following attributes are exported:
7979

8080
* `id` - ID of the resource.
8181
* `create_time` - Creation time of the Mongodb instance.
82-
* `engine_version` - Version of the standby Mongodb instance and must be same as the father's.
83-
* `machine_type` - Type of standby Mongodb instance and must be same as the father's.
82+
* `engine_version` - Version of the standby Mongodb instance and must be same as the version of main instance.
83+
* `machine_type` - Type of standby Mongodb instance and must be same as the type of main instance.
8484
* `status` - Status of the Mongodb instance, and available values include pending initialization(expressed with 0), processing(expressed with 1), running(expressed with 2) and expired(expressed with -2).
8585
* `vip` - IP of the Mongodb instance.
8686
* `vport` - IP port of the Mongodb instance.

0 commit comments

Comments
 (0)