File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 ]
Original file line number Diff line number Diff 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 ]
You can’t perform that action at this time.
0 commit comments