Skip to content

Commit bf8faaa

Browse files
authored
fix(cdb): [122172233]modify mysql doc (#3172)
* fix(cdb): [122172233]modify doc * feat: add changelog
1 parent a12bf2e commit bf8faaa

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.changelog/3172.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_mysql_readonly_instance: modify doc.
3+
```

tencentcloud/services/cdb/resource_tc_mysql_readonly_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func ResourceTencentCloudMysqlReadonlyInstance() *schema.Resource {
3333
Type: schema.TypeString,
3434
Computed: true,
3535
Optional: true,
36-
Description: "The zone information of the primary instance is required when you purchase a disaster recovery instance.",
36+
Description: "The region information of the master instance. This field is required when purchasing a cross-region subscription.",
3737
},
3838
"slave_deploy_mode": {
3939
Type: schema.TypeInt,

website/docs/r/mysql_readonly_instance.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The following arguments are supported:
9696
* `fast_upgrade` - (Optional, Int) Specify whether to enable fast upgrade when upgrade instance spec, available value: `1` - enabled, `0` - disabled.
9797
* `force_delete` - (Optional, Bool) Indicate whether to delete instance directly or not. Default is `false`. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for `PREPAID` instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect.
9898
* `intranet_port` - (Optional, Int) Public access port. Valid value ranges: [1024~65535]. The default value is `3306`.
99-
* `master_region` - (Optional, String) The zone information of the primary instance is required when you purchase a disaster recovery instance.
99+
* `master_region` - (Optional, String) The region information of the master instance. This field is required when purchasing a cross-region subscription.
100100
* `param_template_id` - (Optional, Int) Specify parameter template id.
101101
* `pay_type` - (Optional, Int, **Deprecated**) It has been deprecated from version 1.36.0. Please use `charge_type` instead. Pay type of instance. Valid values: `0`, `1`. `0`: prepaid, `1`: postpaid.
102102
* `period` - (Optional, Int, **Deprecated**) It has been deprecated from version 1.36.0. Please use `prepaid_period` instead. Period of instance. NOTES: Only supported prepaid instance.

0 commit comments

Comments
 (0)