Skip to content

Commit 792da66

Browse files
authored
Merge pull request #171 from terraform-tencentcloud/cam-dev
fix spelling issues and add erb file
2 parents 3acca3e + dd216c2 commit 792da66

10 files changed

+77
-16
lines changed

website/docs/d/cam_role_policy_attachments.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ data "tencentcloud_cam_role_policy_attachments" "foo" {
2626
The following arguments are supported:
2727

2828
* `role_id` - (Required) Id of the attached CAM role to be queried.
29-
* `create_mode` - (Optional) Mode of Creation of the CAM user policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
29+
* `create_mode` - (Optional) Mode of Creation of the CAM user policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
3030
* `policy_id` - (Optional) Id of CAM policy to be queried.
3131
* `policy_type` - (Optional) Type of the policy strategy. 'User' means customer strategy and 'QCS' means preset strategy.
3232
* `result_output_file` - (Optional) Used to save results.
@@ -36,7 +36,7 @@ The following arguments are supported:
3636
In addition to all arguments above, the following attributes are exported:
3737

3838
* `role_policy_attachment_list` - A list of CAM role policy attachments. Each element contains the following attributes:
39-
* `create_mode` - Mode of Creation of the CAM role policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
39+
* `create_mode` - Mode of Creation of the CAM role policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
4040
* `create_time` - Create time of the CAM role policy attachment.
4141
* `policy_id` - Name of CAM role.
4242
* `policy_name` - Name of the policy.

website/docs/d/cam_user_policy_attachments.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ data "tencentcloud_cam_user_policy_attachments" "foo" {
2626
The following arguments are supported:
2727

2828
* `user_id` - (Required) Id of the attached CAM user to be queried.
29-
* `create_mode` - (Optional) Mode of Creation of the CAM user policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
29+
* `create_mode` - (Optional) Mode of Creation of the CAM user policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
3030
* `policy_id` - (Optional) Id of CAM policy to be queried.
3131
* `policy_type` - (Optional) Type of the policy strategy. 'User' means customer strategy and 'QCS' means preset strategy.
3232
* `result_output_file` - (Optional) Used to save results.
@@ -36,7 +36,7 @@ The following arguments are supported:
3636
In addition to all arguments above, the following attributes are exported:
3737

3838
* `user_policy_attachment_list` - A list of CAM user policy attachments. Each element contains the following attributes:
39-
* `create_mode` - Mode of Creation of the CAM user policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
39+
* `create_mode` - Mode of Creation of the CAM user policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
4040
* `create_time` - The create time of the CAM user policy attachment.
4141
* `policy_id` - Name of CAM user.
4242
* `policy_name` - The name of the policy.

website/docs/r/as_scaling_config.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ resource "tencentcloud_as_scaling_config" "launch_configuration" {
2121
system_disk_type = "CLOUD_PREMIUM"
2222
system_disk_size = "50"
2323
24-
data_disk = {
24+
data_disk {
2525
disk_type = "CLOUD_PREMIUM"
2626
disk_size = 50
2727
}

website/docs/r/cam_group.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ resource "tencentcloud_cam_group" "foo" {
2323

2424
The following arguments are supported:
2525

26-
* `name` - (Required) Name of cam group.
27-
* `remark` - (Optional) Description of the cam group.
26+
* `name` - (Required) Name of CAM group.
27+
* `remark` - (Optional) Description of the CAM group.
2828

2929
## Attributes Reference
3030

website/docs/r/cam_group_membership.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ resource "tencentcloud_cam_group_membership" "foo" {
2323

2424
The following arguments are supported:
2525

26-
* `group_id` - (Required) Id of cam group.
27-
* `user_ids` - (Required) Id set of the cam group members.
26+
* `group_id` - (Required) Id of CAM group.
27+
* `user_ids` - (Required) Id set of the CAM group members.
2828

2929

3030
## Import

website/docs/r/cam_group_policy_attachment.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ resource "tencentcloud_cam_group_attachment" "foo" {
2323

2424
The following arguments are supported:
2525

26-
* `group_id` - (Required, ForceNew) I of the attached cam group.
26+
* `group_id` - (Required, ForceNew) Id of the attached CAM group.
2727
* `policy_id` - (Required, ForceNew) Id of the policy.
2828

2929
## Attributes Reference
3030

3131
In addition to all arguments above, the following attributes are exported:
3232

33-
* `create_mode` - Mode of Creation of the CAM group policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
33+
* `create_mode` - Mode of Creation of the CAM group policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
3434
* `create_time` - Create time of the CAM group policy attachment.
3535
* `policy_name` - Name of the policy.
3636
* `policy_type` - Type of the policy strategy. 'Group' means customer strategy and 'QCS' means preset strategy.

website/docs/r/cam_role_policy_attachment.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ resource "tencentcloud_cam_role_attachment" "foo" {
2424
The following arguments are supported:
2525

2626
* `policy_id` - (Required, ForceNew) Id of the policy.
27-
* `role_id` - (Required, ForceNew) Id of the attached cam role.
27+
* `role_id` - (Required, ForceNew) Id of the attached CAM role.
2828

2929
## Attributes Reference
3030

3131
In addition to all arguments above, the following attributes are exported:
3232

33-
* `create_mode` - Mode of Creation of the CAM role policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
33+
* `create_mode` - Mode of Creation of the CAM role policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
3434
* `create_time` - The create time of the CAM role policy attachment.
3535
* `policy_name` - The name of the policy.
3636
* `policy_type` - Type of the policy strategy. 'User' means customer strategy and 'QCS' means preset strategy.

website/docs/r/cam_user.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The following arguments are supported:
3131

3232
* `name` - (Required, ForceNew) Name of CAM user.
3333
* `console_login` - (Optional) Indicade whether the CAM user can login or not.
34-
* `country_code` - (Optional) Country code of the phone num, like '86'
34+
* `country_code` - (Optional) Country code of the phone num, like '86'.
3535
* `email` - (Optional) Email of the CAM user.
3636
* `need_reset_password` - (Optional) Indicate whether the CAM user will reset the password the next time he/her logs in.
3737
* `password` - (Optional) The password of the CAM user. The password should be set with 8 characters or more and contains uppercase small letters, numbers, and special characters. Only valid when console_login set true. If not set and the value of console_login is true, a random password is automatically generated.
@@ -45,7 +45,7 @@ In addition to all arguments above, the following attributes are exported:
4545

4646
* `secret_id` - Secret Id of the CAM user.
4747
* `secret_key` - Secret key of the CAM user.
48-
* `uid` - Id of the CAM user
48+
* `uid` - Id of the CAM user.
4949
* `uin` - Uin of the CAM User.
5050

5151

website/docs/r/cam_user_policy_attachment.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The following arguments are supported:
3030

3131
In addition to all arguments above, the following attributes are exported:
3232

33-
* `create_mode` - Mode of Creation of the CAM user policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
33+
* `create_mode` - Mode of Creation of the CAM user policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways.
3434
* `create_time` - Create time of the CAM user policy attachment.
3535
* `policy_name` - Name of the policy.
3636
* `policy_type` - Type of the policy strategy. 'User' means customer strategy and 'QCS' means preset strategy.

website/tencentcloud.erb

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,33 @@
2626
<li<%= sidebar_current("docs-tencentcloud-datasource-availability_zones") %>>
2727
<a href="/docs/providers/tencentcloud/d/availability_zones.html">tencentcloud_availability_zones</a>
2828
</li>
29+
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_roles") %>>
30+
<a href="/docs/providers/tencentcloud/d/cam_roles.html">tencentcloud_cam_roles</a>
31+
</li>
32+
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_role_policy_attachments") %>>
33+
<a href="/docs/providers/tencentcloud/d/cam_role_policy_attachments.html">tencentcloud_cam_role_policy_attachments</a>
34+
</li>
35+
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_policies") %>>
36+
<a href="/docs/providers/tencentcloud/d/cam_policies.html">tencentcloud_cam_policies</a>
37+
</li>
38+
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_users") %>>
39+
<a href="/docs/providers/tencentcloud/d/cam_users.html">tencentcloud_cam_users</a>
40+
</li>
41+
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_user_policy_attachments") %>>
42+
<a href="/docs/providers/tencentcloud/d/cam_user_policy_attachments.html">tencentcloud_cam_user_policy_attachments</a>
43+
</li>
44+
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_groups") %>>
45+
<a href="/docs/providers/tencentcloud/d/cam_groups.html">tencentcloud_cam_groups</a>
46+
</li>
47+
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_group_policy_attachments") %>>
48+
<a href="/docs/providers/tencentcloud/d/cam_group_policy_attachments.html">tencentcloud_cam_group_policy_attachments</a>
49+
</li>
50+
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_group_memberships") %>>
51+
<a href="/docs/providers/tencentcloud/d/cam_group_memberships.html">tencentcloud_cam_group_memberships</a>
52+
</li>
53+
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_saml_providers") %>>
54+
<a href="/docs/providers/tencentcloud/d/cam_saml_providers.html">tencentcloud_cam_saml_providers</a>
55+
</li>
2956
<li<%= sidebar_current("docs-tencentcloud-datasource-cbs_snapshots") %>>
3057
<a href="/docs/providers/tencentcloud/d/cbs_snapshots.html">tencentcloud_cbs_snapshots</a>
3158
</li>
@@ -228,6 +255,40 @@
228255
</ul>
229256
</li>
230257

258+
<li<%= sidebar_current("docs-tencentcloud-resource-cam") %>>
259+
<a href="#">CAM Resources</a>
260+
<ul class="nav">
261+
262+
<li<%= sidebar_current("docs-tencentcloud-resource-cam_role") %>>
263+
<a href="/docs/providers/tencentcloud/r/cam_role.html">tencentcloud_cam_role</a>
264+
</li>
265+
<li<%= sidebar_current("docs-tencentcloud-resource-cam_role_policy_attachment") %>>
266+
<a href="/docs/providers/tencentcloud/r/cam_role_policy_attachment.html">tencentcloud_cam_role_policy_attachment</a>
267+
</li>
268+
<li<%= sidebar_current("docs-tencentcloud-resource-cam_policy") %>>
269+
<a href="/docs/providers/tencentcloud/r/cam_policy.html">tencentcloud_cam_policy</a>
270+
</li>
271+
<li<%= sidebar_current("docs-tencentcloud-resource-cam_user") %>>
272+
<a href="/docs/providers/tencentcloud/r/cam_user.html">tencentcloud_cam_user</a>
273+
</li>
274+
<li<%= sidebar_current("docs-tencentcloud-resource-cam_user_policy_attachment") %>>
275+
<a href="/docs/providers/tencentcloud/r/cam_user_policy_attachment.html">tencentcloud_cam_user_policy_attachment</a>
276+
</li>
277+
<li<%= sidebar_current("docs-tencentcloud-resource-cam_group") %>>
278+
<a href="/docs/providers/tencentcloud/r/cam_group.html">tencentcloud_cam_group</a>
279+
</li>
280+
<li<%= sidebar_current("docs-tencentcloud-resource-cam_group_policy_attachment") %>>
281+
<a href="/docs/providers/tencentcloud/r/cam_group_policy_attachment.html">tencentcloud_cam_group_policy_attachment</a>
282+
</li>
283+
<li<%= sidebar_current("docs-tencentcloud-resource-cam_group_membership") %>>
284+
<a href="/docs/providers/tencentcloud/r/cam_group_membership.html">tencentcloud_cam_group_membership</a>
285+
</li>
286+
<li<%= sidebar_current("docs-tencentcloud-resource-cam_saml_provider") %>>
287+
<a href="/docs/providers/tencentcloud/r/cam_saml_provider.html">tencentcloud_cam_saml_provider</a>
288+
</li>
289+
</ul>
290+
</li>
291+
231292
<li<%= sidebar_current("docs-tencentcloud-resource-cbs") %>>
232293
<a href="#">CBS Resources</a>
233294
<ul class="nav">

0 commit comments

Comments
 (0)