Skip to content

Commit f823ded

Browse files
authored
Merge pull request #181 from terraform-tencentcloud/cam-dev
fix example error in the website
2 parents a6b1c97 + 11c72eb commit f823ded

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
## 1.22.1 (Unreleased)
2+
BUG FIXES:
3+
* Fixed docs of CAM
4+
25
## 1.22.0 (November 05, 2019)
36

47
FEATURES:
@@ -69,6 +72,7 @@ BUG FIXES:
6972

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

75+
7276
## 1.20.1 (October 08, 2019)
7377

7478
ENHANCEMENTS:

tencentcloud/resource_tc_cam_role_policy_attachment.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Provides a resource to create a CAM role policy attachment.
44
Example Usage
55
66
```hcl
7-
resource "tencentcloud_cam_role_attachment" "foo" {
8-
group_id = "4611686018427922725"
7+
resource "tencentcloud_cam_role_policy_attachment" "foo" {
8+
role_id = "4611686018427922725"
99
policy_id = "26800353"
1010
}
1111
```
@@ -15,7 +15,7 @@ Import
1515
CAM role policy attachment can be imported using the id, e.g.
1616
1717
```
18-
$ terraform import tencentcloud_cam_role_attachment.foo 4611686018427922725#26800353
18+
$ terraform import tencentcloud_cam_role_policy_attachment.foo 4611686018427922725#26800353
1919
```
2020
*/
2121
package tencentcloud

website/docs/r/cam_role_policy_attachment.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Provides a resource to create a CAM role policy attachment.
1313
## Example Usage
1414

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

4343
```
44-
$ terraform import tencentcloud_cam_role_attachment.foo 4611686018427922725#26800353
44+
$ terraform import tencentcloud_cam_role_policy_attachment.foo 4611686018427922725#26800353
4545
```
4646

0 commit comments

Comments
 (0)