Skip to content

fix example error in the website #181

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 5 commits into from Nov 6, 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: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## 1.22.1 (Unreleased)
BUG FIXES:
* Fixed docs of CAM

## 1.22.0 (November 05, 2019)

FEATURES:
Expand Down Expand Up @@ -69,6 +72,7 @@ BUG FIXES:

* Resource: `tencentcloud_gaap_http_domain` fix sometimes can't enable realserver auth


## 1.20.1 (October 08, 2019)

ENHANCEMENTS:
Expand Down
6 changes: 3 additions & 3 deletions tencentcloud/resource_tc_cam_role_policy_attachment.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Provides a resource to create a CAM role policy attachment.
Example Usage

```hcl
resource "tencentcloud_cam_role_attachment" "foo" {
group_id = "4611686018427922725"
resource "tencentcloud_cam_role_policy_attachment" "foo" {
role_id = "4611686018427922725"
policy_id = "26800353"
}
```
Expand All @@ -15,7 +15,7 @@ Import
CAM role policy attachment can be imported using the id, e.g.

```
$ terraform import tencentcloud_cam_role_attachment.foo 4611686018427922725#26800353
$ terraform import tencentcloud_cam_role_policy_attachment.foo 4611686018427922725#26800353
```
*/
package tencentcloud
Expand Down
6 changes: 3 additions & 3 deletions website/docs/r/cam_role_policy_attachment.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Provides a resource to create a CAM role policy attachment.
## Example Usage

```hcl
resource "tencentcloud_cam_role_attachment" "foo" {
group_id = "4611686018427922725"
resource "tencentcloud_cam_role_policy_attachment" "foo" {
role_id = "4611686018427922725"
policy_id = "26800353"
}
```
Expand All @@ -41,6 +41,6 @@ In addition to all arguments above, the following attributes are exported:
CAM role policy attachment can be imported using the id, e.g.

```
$ terraform import tencentcloud_cam_role_attachment.foo 4611686018427922725#26800353
$ terraform import tencentcloud_cam_role_policy_attachment.foo 4611686018427922725#26800353
```