Skip to content

Commit f3f6849

Browse files
author
mikatong
committed
fix doc
1 parent 39ce67e commit f3f6849

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Provides a resource to create mongodb backup rule
1+
Provides a resource to create mongodb instance backup rule
22

33
Example Usage
44

55
```hcl
6-
resource "tencentcloud_mongodb_backup_rule" "backup_rule" {
6+
resource "tencentcloud_mongodb_instance_backup" "backup_rule" {
77
instance_id = "cmgo-xxxxxx"
88
backup_method = 0
99
backup_time = 10
@@ -12,8 +12,8 @@ resource "tencentcloud_mongodb_backup_rule" "backup_rule" {
1212

1313
Import
1414

15-
mongodb backup_rule can be imported using the id, e.g.
15+
mongodb instance backup rule can be imported using the id, e.g.
1616

1717
```
18-
terraform import tencentcloud_mongodb_backup_rule.backup_rule ${instanceId}
18+
terraform import tencentcloud_mongodb_instance_backup.backup_rule ${instanceId}
1919
```

website/docs/r/mongodb_instance_backup_rule.html.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ layout: "tencentcloud"
44
page_title: "TencentCloud: tencentcloud_mongodb_instance_backup_rule"
55
sidebar_current: "docs-tencentcloud-resource-mongodb_instance_backup_rule"
66
description: |-
7-
Provides a resource to create mongodb backup rule
7+
Provides a resource to create mongodb instance backup rule
88
---
99

1010
# tencentcloud_mongodb_instance_backup_rule
1111

12-
Provides a resource to create mongodb backup rule
12+
Provides a resource to create mongodb instance backup rule
1313

1414
## Example Usage
1515

1616
```hcl
17-
resource "tencentcloud_mongodb_backup_rule" "backup_rule" {
17+
resource "tencentcloud_mongodb_instance_backup" "backup_rule" {
1818
instance_id = "cmgo-xxxxxx"
1919
backup_method = 0
2020
backup_time = 10
@@ -43,9 +43,9 @@ In addition to all arguments above, the following attributes are exported:
4343

4444
## Import
4545

46-
mongodb backup_rule can be imported using the id, e.g.
46+
mongodb instance backup rule can be imported using the id, e.g.
4747

4848
```
49-
terraform import tencentcloud_mongodb_backup_rule.backup_rule ${instanceId}
49+
terraform import tencentcloud_mongodb_instance_backup.backup_rule ${instanceId}
5050
```
5151

0 commit comments

Comments
 (0)