Skip to content

fix spelling issues and add erb file #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from Oct 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/docs/d/cam_role_policy_attachments.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ data "tencentcloud_cam_role_policy_attachments" "foo" {
The following arguments are supported:

* `role_id` - (Required) Id of the attached CAM role to be queried.
* `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.
* `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.
* `policy_id` - (Optional) Id of CAM policy to be queried.
* `policy_type` - (Optional) Type of the policy strategy. 'User' means customer strategy and 'QCS' means preset strategy.
* `result_output_file` - (Optional) Used to save results.
Expand All @@ -36,7 +36,7 @@ The following arguments are supported:
In addition to all arguments above, the following attributes are exported:

* `role_policy_attachment_list` - A list of CAM role policy attachments. Each element contains the following attributes:
* `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.
* `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.
* `create_time` - Create time of the CAM role policy attachment.
* `policy_id` - Name of CAM role.
* `policy_name` - Name of the policy.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/cam_user_policy_attachments.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ data "tencentcloud_cam_user_policy_attachments" "foo" {
The following arguments are supported:

* `user_id` - (Required) Id of the attached CAM user to be queried.
* `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.
* `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.
* `policy_id` - (Optional) Id of CAM policy to be queried.
* `policy_type` - (Optional) Type of the policy strategy. 'User' means customer strategy and 'QCS' means preset strategy.
* `result_output_file` - (Optional) Used to save results.
Expand All @@ -36,7 +36,7 @@ The following arguments are supported:
In addition to all arguments above, the following attributes are exported:

* `user_policy_attachment_list` - A list of CAM user policy attachments. Each element contains the following attributes:
* `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.
* `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.
* `create_time` - The create time of the CAM user policy attachment.
* `policy_id` - Name of CAM user.
* `policy_name` - The name of the policy.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/as_scaling_config.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource "tencentcloud_as_scaling_config" "launch_configuration" {
system_disk_type = "CLOUD_PREMIUM"
system_disk_size = "50"

data_disk = {
data_disk {
disk_type = "CLOUD_PREMIUM"
disk_size = 50
}
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/cam_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ resource "tencentcloud_cam_group" "foo" {

The following arguments are supported:

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

## Attributes Reference

Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/cam_group_membership.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ resource "tencentcloud_cam_group_membership" "foo" {

The following arguments are supported:

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


## Import
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/cam_group_policy_attachment.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ resource "tencentcloud_cam_group_attachment" "foo" {

The following arguments are supported:

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

## Attributes Reference

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

* `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.
* `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.
* `create_time` - Create time of the CAM group policy attachment.
* `policy_name` - Name of the policy.
* `policy_type` - Type of the policy strategy. 'Group' means customer strategy and 'QCS' means preset strategy.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/cam_role_policy_attachment.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ resource "tencentcloud_cam_role_attachment" "foo" {
The following arguments are supported:

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

## Attributes Reference

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

* `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.
* `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.
* `create_time` - The create time of the CAM role policy attachment.
* `policy_name` - The name of the policy.
* `policy_type` - Type of the policy strategy. 'User' means customer strategy and 'QCS' means preset strategy.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/cam_user.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The following arguments are supported:

* `name` - (Required, ForceNew) Name of CAM user.
* `console_login` - (Optional) Indicade whether the CAM user can login or not.
* `country_code` - (Optional) Country code of the phone num, like '86'
* `country_code` - (Optional) Country code of the phone num, like '86'.
* `email` - (Optional) Email of the CAM user.
* `need_reset_password` - (Optional) Indicate whether the CAM user will reset the password the next time he/her logs in.
* `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.
Expand All @@ -45,7 +45,7 @@ In addition to all arguments above, the following attributes are exported:

* `secret_id` - Secret Id of the CAM user.
* `secret_key` - Secret key of the CAM user.
* `uid` - Id of the CAM user
* `uid` - Id of the CAM user.
* `uin` - Uin of the CAM User.


Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/cam_user_policy_attachment.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The following arguments are supported:

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

* `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.
* `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.
* `create_time` - Create time of the CAM user policy attachment.
* `policy_name` - Name of the policy.
* `policy_type` - Type of the policy strategy. 'User' means customer strategy and 'QCS' means preset strategy.
Expand Down
61 changes: 61 additions & 0 deletions website/tencentcloud.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,33 @@
<li<%= sidebar_current("docs-tencentcloud-datasource-availability_zones") %>>
<a href="/docs/providers/tencentcloud/d/availability_zones.html">tencentcloud_availability_zones</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_roles") %>>
<a href="/docs/providers/tencentcloud/d/cam_roles.html">tencentcloud_cam_roles</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_role_policy_attachments") %>>
<a href="/docs/providers/tencentcloud/d/cam_role_policy_attachments.html">tencentcloud_cam_role_policy_attachments</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_policies") %>>
<a href="/docs/providers/tencentcloud/d/cam_policies.html">tencentcloud_cam_policies</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_users") %>>
<a href="/docs/providers/tencentcloud/d/cam_users.html">tencentcloud_cam_users</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_user_policy_attachments") %>>
<a href="/docs/providers/tencentcloud/d/cam_user_policy_attachments.html">tencentcloud_cam_user_policy_attachments</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_groups") %>>
<a href="/docs/providers/tencentcloud/d/cam_groups.html">tencentcloud_cam_groups</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_group_policy_attachments") %>>
<a href="/docs/providers/tencentcloud/d/cam_group_policy_attachments.html">tencentcloud_cam_group_policy_attachments</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_group_memberships") %>>
<a href="/docs/providers/tencentcloud/d/cam_group_memberships.html">tencentcloud_cam_group_memberships</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-datasource-cam_saml_providers") %>>
<a href="/docs/providers/tencentcloud/d/cam_saml_providers.html">tencentcloud_cam_saml_providers</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-datasource-cbs_snapshots") %>>
<a href="/docs/providers/tencentcloud/d/cbs_snapshots.html">tencentcloud_cbs_snapshots</a>
</li>
Expand Down Expand Up @@ -228,6 +255,40 @@
</ul>
</li>

<li<%= sidebar_current("docs-tencentcloud-resource-cam") %>>
<a href="#">CAM Resources</a>
<ul class="nav">

<li<%= sidebar_current("docs-tencentcloud-resource-cam_role") %>>
<a href="/docs/providers/tencentcloud/r/cam_role.html">tencentcloud_cam_role</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-resource-cam_role_policy_attachment") %>>
<a href="/docs/providers/tencentcloud/r/cam_role_policy_attachment.html">tencentcloud_cam_role_policy_attachment</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-resource-cam_policy") %>>
<a href="/docs/providers/tencentcloud/r/cam_policy.html">tencentcloud_cam_policy</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-resource-cam_user") %>>
<a href="/docs/providers/tencentcloud/r/cam_user.html">tencentcloud_cam_user</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-resource-cam_user_policy_attachment") %>>
<a href="/docs/providers/tencentcloud/r/cam_user_policy_attachment.html">tencentcloud_cam_user_policy_attachment</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-resource-cam_group") %>>
<a href="/docs/providers/tencentcloud/r/cam_group.html">tencentcloud_cam_group</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-resource-cam_group_policy_attachment") %>>
<a href="/docs/providers/tencentcloud/r/cam_group_policy_attachment.html">tencentcloud_cam_group_policy_attachment</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-resource-cam_group_membership") %>>
<a href="/docs/providers/tencentcloud/r/cam_group_membership.html">tencentcloud_cam_group_membership</a>
</li>
<li<%= sidebar_current("docs-tencentcloud-resource-cam_saml_provider") %>>
<a href="/docs/providers/tencentcloud/r/cam_saml_provider.html">tencentcloud_cam_saml_provider</a>
</li>
</ul>
</li>

<li<%= sidebar_current("docs-tencentcloud-resource-cbs") %>>
<a href="#">CBS Resources</a>
<ul class="nav">
Expand Down