Group
akamai_iam_group
Get details about a given group and any of its subgroups.
data "akamai_iam_group" "my_group" {
  group_id = 12345
}
output "my_group" {
  value = data.akamai_iam_group.my_group
}
my_group = {
      actions         = {
          delete = false
          edit   = true
        }
      created_by      = "Akamai"
      created_date    = "2023-01-22T22:00:01.000Z"
      group_id        = 12345
      group_name      = "My group"
      modified_by     = "jsmith"
      modified_date   = "2023-06-06T16:16:27.000Z"
      parent_group_id = 0
      sub_groups      = [
          {
              actions         = {
                  delete = false
                  edit   = true
                }
              created_by      = "jsmith"
              created_date    = "2023-01-20T17:21:07.000Z"
              group_id        = 23456
              group_name      = "Subgroup 1"
              modified_by     = "jsmith"
              modified_date   = "2023-03-20T17:08:23.000Z"
              parent_group_id = 12345
              sub_groups      = null
            },
          {
              actions         = {
                  delete = false
                  edit   = true
                }
              created_by      = "jsmith"
              created_date    = "2023-04-20T15:27:19.000Z"
              group_id        = 98765
              group_name      = "Subgroup 2"
              modified_by     = "jsmith"
              modified_date   = "2023-05-21T10:42:19.000Z"
              parent_group_id = 12345
              sub_groups      = []
            },
        ]
    }
Argument
Pass a group_id in the data block to get information about a group.
Attributes
Returned are details about the given group.
| Attribute | Description | 
|---|---|
actions | The operations you can perform on the role. 
  | 
created_by | The user who created the group. | 
created_date | The group's creation date in ISO 8601 format. | 
modified_by | The user who last modified the group. | 
modified_date | The group's modification date in ISO 8601 format. | 
group_id | The group's ID. | 
group_name | The group's name. | 
parent_group_id | The group's parent group ID. | 
sub_groups | A list of subgroups for the group, if any. | 
Updated 21 days ago
