Skip to content

Commit 8a28f39

Browse files
committed
fix error example
1 parent 67b292a commit 8a28f39

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tencentcloud/resource_tc_cam_role.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resource "tencentcloud_cam_role" "foo" {
1616
"action": ["name/sts:AssumeRole"],
1717
"effect": "allow",
1818
"principal": {
19-
"qcs": ["qcs::cam::uin/3374997817:uin/3374997817"]
19+
"qcs": ["qcs::cam::uin/<your-account-id>:uin/<your-account-id>"]
2020
}
2121
}
2222
]
@@ -40,7 +40,7 @@ resource "tencentcloud_cam_role" "boo" {
4040
"action": ["name/sts:AssumeRole", "name/sts:AssumeRoleWithWebIdentity"],
4141
"effect": "allow",
4242
"principal": {
43-
"federated": ["qcs::cam::uin/3374997817:saml-provider/XXXX-oooo"]
43+
"federated": ["qcs::cam::uin/<your-account-id>:saml-provider/<your-name>"]
4444
}
4545
}
4646
]

website/docs/r/cam_role.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ resource "tencentcloud_cam_role" "foo" {
2525
"action": ["name/sts:AssumeRole"],
2626
"effect": "allow",
2727
"principal": {
28-
"qcs": ["qcs::cam::uin/3374997817:uin/3374997817"]
28+
"qcs": ["qcs::cam::uin/<your-account-id>:uin/<your-account-id>"]
2929
}
3030
}
3131
]
@@ -49,7 +49,7 @@ resource "tencentcloud_cam_role" "boo" {
4949
"action": ["name/sts:AssumeRole", "name/sts:AssumeRoleWithWebIdentity"],
5050
"effect": "allow",
5151
"principal": {
52-
"federated": ["qcs::cam::uin/3374997817:saml-provider/XXXX-oooo"]
52+
"federated": ["qcs::cam::uin/<your-account-id>:saml-provider/<your-name>"]
5353
}
5454
}
5555
]

0 commit comments

Comments
 (0)