You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/d/cam_user_policy_attachments.html.markdown
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,11 +30,12 @@ data "tencentcloud_cam_user_policy_attachments" "bar" {
30
30
31
31
The following arguments are supported:
32
32
33
-
*`user_id` - (Required) ID of the attached CAM user to be queried.
34
33
*`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.
35
34
*`policy_id` - (Optional) ID of CAM policy to be queried.
36
35
*`policy_type` - (Optional) Type of the policy strategy. 'User' means customer strategy and 'QCS' means preset strategy.
37
36
*`result_output_file` - (Optional) Used to save results.
37
+
*`user_id` - (Optional, **Deprecated**) It has been deprecated from version 1.59.6. Use `user_name` instead. ID of the attached CAM user to be queried.
38
+
*`user_name` - (Optional) Name of the attached CAM user as unique key to be queried.
38
39
39
40
## Attributes Reference
40
41
@@ -46,6 +47,7 @@ In addition to all arguments above, the following attributes are exported:
46
47
*`policy_id` - Name of CAM user.
47
48
*`policy_name` - The name of the policy.
48
49
*`policy_type` - Type of the policy strategy. 'User' means customer strategy and 'QCS' means preset strategy.
49
-
*`user_id` - ID of CAM user.
50
+
*`user_id` - (**Deprecated**) It has been deprecated from version 1.59.6. Use `user_name` instead. ID of CAM user.
0 commit comments