Users affected by moving group
akamai_iam_users_affected_by_moving_group
Get a list of users who have been affected by moving a group.
data "akamai_iam_users_affected_by_moving_group" "my_affected_users" {
source_group_id = 12345
destination_group_id = 98765
user_type = "gainAccess"
}
output "my_affected_users" {
value = data.akamai_iam_users_affected_by_moving_group.my_affected_users
}
Changes to Outputs:
+ my_affected_users = {
+ destination_group_id = 98765
+ source_group_id = 12345
+ user_type = "gainAccess"
+ users = [
+ {
+ account_id = "act_A-CCT1234"
+ email = "jsmith@email.com"
+ first_name = "John"
+ last_login_date = "2024-07-16T09:54:32Z"
+ last_name = "Smith"
+ ui_identity_id = "A-BC-1234567"
+ ui_username = "jsmith@email.com"
},
+ {
+ account_id = "act_A-CCT1234"
+ email = "jensmith@email.com"
+ first_name = "Jen"
+ last_login_date = "2024-09-23T14:57:55Z"
+ last_name = "Smith"
+ ui_identity_id = "A-BC-987654"
+ ui_username = "jensmith@email.com"
},
]
}
Arguments
Pass source group and destination group IDs in the data
block to get the affected users. You can narrow down the results by users who have lost or gained access resulting from this move.
Argument | Required | Description |
---|---|---|
source_group_id | ✔ | The ID of a group that has been moved. |
destination_group_id | ✔ | The ID of a group your source group has been moved to. |
user_type | Filters the list by users who have lostAccess or gainAccess . |
Attributes
Returned to you is a list of the affected users
.
Attribute | Description |
---|---|
ui_identity_id | The user's UI ID. |
account_id | The user's account ID. |
email | A user's email address. |
first_name | A user's given name. |
last_name | The user's surname. |
last_login_date | The last time the user logged in in ISO 8601 format. |
ui_username | The user's Akamai Control Center name. |
Updated 2 months ago