Reporting groups
BetaHello. 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.
List all reporting groups available to you.
data "akamai_reportinggroups_groups" "my-groups" {
contract_id = "C-0N7RAC7"
group_id = "54321"
cp_code_id = "12345"
reporting_group_name = "My reporting group"
}
output "my-groups" {
value = data.akamai_reportinggroups_groups.my-groups
}my-groups = {
contract_id = "C-0N7RAC7"
cp_code_id = "12345"
group_id = "54321"
groups = [
{
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"
},
]
}
reporting_group_id = 98765
reporting_group_name = "My reporting group"
},
]
reporting_group_name = "My reporting group"
}Arguments
Leave the data source empty to return all reporting groups or provide optional arguments to filter your results.
| Name | Required | Description |
|---|---|---|
contract_id | The contract ID to filter reporting groups by. | |
group_id | The access control group to filter reporting groups by. | |
reporting_group_name | The name of the reporting group to filter by. | |
cp_code_id | The CP code to filter reporting groups by. |
Attributes
Returned to you is a set of reporting groups with their 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 |
The contract and CP codes assigned to the reporting group.
|
Updated 3 days ago
