Skip to content

Commit 42c3eb5

Browse files
authored
fix(cam): [137249923] tencentcloud_cam_user update doc (#3265)
* add * add
1 parent f61fb54 commit 42c3eb5

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed

.changelog/3265.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_cam_user: update doc
3+
```

tencentcloud/services/cam/resource_tc_cam_user.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ Provides a resource to manage CAM user.
33
Example Usage
44

55
```hcl
6-
resource "tencentcloud_cam_user" "foo" {
7-
name = "tf_cam_user"
8-
remark = "tf_user_test"
6+
resource "tencentcloud_cam_user" "example" {
7+
name = "tf-example"
8+
remark = "Remark."
99
console_login = true
1010
use_api = true
1111
need_reset_password = true
12-
password = "Gail@1234"
13-
phone_num = "12345678910"
14-
email = "hello@test.com"
12+
password = "Password@123"
13+
phone_num = "189********"
14+
email = "example@qq.com"
1515
country_code = "86"
1616
force_delete = true
1717
tags = {
18-
test = "tf_cam_user",
18+
createBy = "Terraform"
1919
}
2020
}
2121
```
@@ -25,5 +25,5 @@ Import
2525
CAM user can be imported using the user name, e.g.
2626

2727
```
28-
$ terraform import tencentcloud_cam_user.foo cam-user-test
28+
$ terraform import tencentcloud_cam_user.example tf-example
2929
```

website/docs/r/cam_user.html.markdown

+8-8
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ Provides a resource to manage CAM user.
1414
## Example Usage
1515

1616
```hcl
17-
resource "tencentcloud_cam_user" "foo" {
18-
name = "tf_cam_user"
19-
remark = "tf_user_test"
17+
resource "tencentcloud_cam_user" "example" {
18+
name = "tf-example"
19+
remark = "Remark."
2020
console_login = true
2121
use_api = true
2222
need_reset_password = true
23-
password = "Gail@1234"
24-
phone_num = "12345678910"
25-
email = "hello@test.com"
23+
password = "Password@123"
24+
phone_num = "189********"
25+
email = "example@qq.com"
2626
country_code = "86"
2727
force_delete = true
2828
tags = {
29-
test = "tf_cam_user",
29+
createBy = "Terraform"
3030
}
3131
}
3232
```
@@ -63,6 +63,6 @@ In addition to all arguments above, the following attributes are exported:
6363
CAM user can be imported using the user name, e.g.
6464

6565
```
66-
$ terraform import tencentcloud_cam_user.foo cam-user-test
66+
$ terraform import tencentcloud_cam_user.example tf-example
6767
```
6868

0 commit comments

Comments
 (0)