Skip to content

Commit bf7d0d1

Browse files
author
mikatong
committed
update
1 parent b1739ef commit bf7d0d1

File tree

4 files changed

+51
-10
lines changed

4 files changed

+51
-10
lines changed

.changelog/3236.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
```release-note:new-resource
2-
tencentcloud_cdwpg_account
2+
tencentcloud_cdwpg_reset_account_password
33
```
44

55
```release-note:new-resource
66
tencentcloud_cdwpg_restart_instance
77
```
88

9-
```release-note:new-resource
10-
tencentcloud_cdwpg_upgrade_instance
11-
```
12-
139
```release-note:new-resource
1410
tencentcloud_cdwpg_userhba
1511
```

website/docs/r/cdwpg_instance.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ The following arguments are supported:
6666
* `user_subnet_id` - (Required, String) subnet.
6767
* `user_vpc_id` - (Required, String) private network.
6868
* `zone` - (Required, String) Availability Zone.
69+
* `product_version` - (Optional, String) Version.
6970
* `tags` - (Optional, Map) Tag description list.
7071

7172
The `charge_properties` object supports the following:
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
subcategory: "CDWPG"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_cdwpg_reset_account_password"
5+
sidebar_current: "docs-tencentcloud-resource-cdwpg_reset_account_password"
6+
description: |-
7+
Provides a resource to reset cdwpg account password
8+
---
9+
10+
# tencentcloud_cdwpg_reset_account_password
11+
12+
Provides a resource to reset cdwpg account password
13+
14+
## Example Usage
15+
16+
```hcl
17+
resource "tencentcloud_cdwpg_reset_account_password" "cdwpg_reset_account_password" {
18+
instance_id = "cdwpg-zpiemnyd"
19+
user_name = "dbadmin"
20+
new_password = "testpassword"
21+
}
22+
```
23+
24+
## Argument Reference
25+
26+
The following arguments are supported:
27+
28+
* `instance_id` - (Required, String, ForceNew) Instance id.
29+
* `new_password` - (Required, String) New password.
30+
* `user_name` - (Required, String, ForceNew) Username.
31+
32+
## Attributes Reference
33+
34+
In addition to all arguments above, the following attributes are exported:
35+
36+
* `id` - ID of the resource.
37+
38+
39+
40+
## Import
41+
42+
cdwpg reset account password can be imported using the id, e.g.
43+
44+
```
45+
terraform import tencentcloud_cdwpg_reset_account_password.cdwpg_account cdwpg_reset_account_password_id
46+
```
47+

website/tencentcloud.erb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -585,17 +585,14 @@
585585
<li>
586586
<a href="/docs/providers/tencentcloud/r/cdwpg_dbconfig.html">tencentcloud_cdwpg_dbconfig</a>
587587
</li>
588-
<li>
589-
<a href="/docs/providers/tencentcloud/r/cdwpg_account.html">tencentcloud_cdwpg_account</a>
590-
</li>
591588
<li>
592589
<a href="/docs/providers/tencentcloud/r/cdwpg_instance.html">tencentcloud_cdwpg_instance</a>
593590
</li>
594591
<li>
595-
<a href="/docs/providers/tencentcloud/r/cdwpg_restart_instance.html">tencentcloud_cdwpg_restart_instance</a>
592+
<a href="/docs/providers/tencentcloud/r/cdwpg_reset_account_password.html">tencentcloud_cdwpg_reset_account_password</a>
596593
</li>
597594
<li>
598-
<a href="/docs/providers/tencentcloud/r/cdwpg_upgrade_instance.html">tencentcloud_cdwpg_upgrade_instance</a>
595+
<a href="/docs/providers/tencentcloud/r/cdwpg_restart_instance.html">tencentcloud_cdwpg_restart_instance</a>
599596
</li>
600597
<li>
601598
<a href="/docs/providers/tencentcloud/r/cdwpg_userhba.html">tencentcloud_cdwpg_userhba</a>

0 commit comments

Comments
 (0)