Client lists
akamai_clientlist_lists
Get a details for all of your client lists or use filters to narrow the results to a particular list name, list type, or output option.
data "akamai_clientlist_lists" "my_clientlists" {
}
output "my_clientlists" {
value = data.akamai_clientlist_lists.my_clientlists
}
Changes to Outputs:
+ my_clientlists = {
+ id = "c113n7l157a1bce2345f67ghi8ak9lm01n23456"
+ json = jsonencode(
[
+ {
+ Items = null
+ createDate = "2023-08-14T13:54:20.870+00:00"
+ createdBy = "jsmith"
+ deprecated = false
+ itemsCount = 1
+ listId = "123456_MYLISTID"
+ listType = "CL"
+ name = "my_list_name"
+ notes = ""
+ productionActivationStatus = "ACTIVE"
+ productionActiveVersion = 1
+ readOnly = false
+ shared = false
+ stagingActivationStatus = "INACTIVE"
+ stagingActiveVersion = 0
+ tags = []
+ type = "IP"
+ updateDate = "2023-08-14T13:54:20.870+00:00"
+ updatedBy = "jsmith"
+ version = 1
},
]
)
+ list_ids = [
+ "123456_MYLISTID",
]
+ lists = [
+ {
+ create_date = "2023-08-14T13:54:20.870+00:00"
+ created_by = "jsmith"
+ deprecated = false
+ items_count = 1
+ list_id = "123456_MYLISTID"
+ list_type = "CL"
+ name = "my_list_name"
+ notes = ""
+ production_activation_status = "ACTIVE"
+ read_only = false
+ shared = false
+ staging_activation_status = "INACTIVE"
+ tags = []
+ type = "IP"
+ update_date = "2023-08-14T13:54:20.870+00:00"
+ updated_by = "jsmith"
+ version = 1
},
]
+ name = null
+ output_text = <<-EOT
+--------------------------------------------------------------------------------------------------------------------------+
| clientListsDS |
+------------------+---------------+------+------+------------+---------+----------+-------------------------------+-------+
| LISTID | NAME | TAGS | TYPE | ITEMSCOUNT | VERSION | READONLY | UPDATEDATE | NOTES |
+------------------+---------------+------+------+------------+---------+----------+-------------------------------+-------+
| 123456_MYLISTID | my_list_name | [] | IP | 1 | 1 | false | 2023-08-14T13:54:20.870+00:00 | |
EOT
+ type = null
}
variable "list_id" {
type = string
description = "My list name"
default = "123456_MYLISTID"
}
// tvars
list_id = var.list_id
Arguments
If you pass this data source empty, config_section
argument in the Akamai provider
block of your Terraform configuration provides the necessary information.
Pass one or both of the filters to reduce the returned list.
Argument | Required | Description |
---|---|---|
name | A client list's name. | |
type | A client list's type.
|
Attributes
Returned to you is a set of your client lists based on what you passed in the data block body.
Attribute | Description |
---|---|
name | A client list's name. |
type | A client list's type. |
notes | Comments or other human-readable details about your client list. |
tags | User-created identifiers to filter client list searches. |
list_id | A set of client list IDs. |
version | A client list's version. |
items_count | The number of items a client list contains. |
create_date | The ISO 8601 time stamp for the client list's creation. |
created_by | The name of the user who created the client list. |
update_date | The ISO 8601 time stamp for a client list's latest update. |
updated_by | The name of the user who last updated the client list. |
production_activation_status | The activation status on the production network. |
staging_activation_status | The activation status on the staging network. |
list_type | A client list's type.
|
shared | A client list made by Akamai that's shared across customers. |
read_only | Whether the client list is editable for the authenticated user. |
deprecated | Whether the client list was removed. |
Updated about 2 months ago