Reporting group

📘

Beta

Hello. Just a note to let you know the underlying API on which this data source is built is general release and has been vetted, but because this is a new feature for our Terraform provider, we've given it beta label.

This status just means we've paused for a bit to get your feedback to make sure this data source works like you need and expect.

Retrieve details of a reporting group.

data "akamai_reportinggroups_group" "my-group" {
  reporting_group_id = 98765
}

output "my-group" {
  value = data.akamai_reportinggroups_group.my-group
}
my-group = {
  access_group         = {
    contract_id = "C-0N7RAC7"
    group_id    = "54321"
  }
  contract             = {
    contract_id = "C-0N7RAC7"
    cp_codes    = [
      {
        cp_code_id   = "12345"
        cp_code_name = "My CP code"
      },
      {
        cp_code_id   = "54321"
        cp_code_name = "My other CP code"
      },
    ]
  }
  reporting_group_id   = 98765
  reporting_group_name = "My reporting group"
}

Arguments

Pass a reporting group's ID in the data block to get its details.

Attributes

Returned to you is the reporting group with its access group and assigned contract details.

Name Description
reporting_group_id The reporting group's ID.
reporting_group_name The human-readable name for the reporting group.
access_group The access control group that controls access to specific CP codes.
  • contract_id. The contract's ID.
  • group_id. The access control group's ID. May be null if no single access group applies.
contract The contract and CP codes assigned to the reporting group.
  • contract_id. The contract's ID.
  • cp_codes. A collection of CP codes.
    • cp_code_id. A CP code's ID.
    • cp_code_name. A human-readable name for the CP code.