Client list
akamai_clientlist_list
Create, update, or delete a client list.
To delete a client list, ensure its status is INACTIVE and then run terraform destroy.
resource "akamai_clientlist_list" "my_client_list" {
name = "my_client_list"
type = "ASN"
notes = "Client list creation"
tags = ["tag1", "tag2", "tag3"]
contract_id = "C-0N7RAC7"
group_id = 12345
items {
value = "1"
description = "Item one"
tags = ["tag1", "tag2"]
expiration_date = "2023-09-06T15:58:39.225+00:00"
}
items {
value = "2"
description = "Item two"
tags = ["tag2", "tag3"]
expiration_date = ""
}
}
my_clientlist = {
contract_id = "C-0N7RAC7"
group_id = 12345
id = "12345_MYCLIENTLIST"
items = [
{
description = "Item one"
expiration_date = "2023-09-06T15:58:39.225+00:00"
tags = [
"tag1",
"tag2"
]
value = "1"
},
{
description = "Item two"
expiration_date = ""
tags = [
"tag2",
"tag3"
]
value = "2"
},
]
items_count = 2
list_id = "12345_MYCLIENTLIST"
name = "my_client_list"
notes = "Client list creation"
tags = [
"asn log",
]
type = "ASN"
version = 1
}
Arguments
Pass all required arguments to create a client list.
| Argument | Required | Description |
|---|---|---|
name | ✔️ | Your client list's name. |
type | ✔️ | Your client list's type.
|
contract_id | ✔️ | Your contract ID. |
group_id | ✔️ | Your group ID. |
notes | Comments or other human-readable details about your client list. | |
tags | User-created identifiers to filter client list searches. | |
items | Your list's match elements.
|
Attributes
There's no standard output for this resource as changes are reflected in your state file and based on what you passed in the resource block body.
| Attribute | Description |
|---|---|
list_id | The client list ID's. |
version | The client list's version. |
items_count | The number of items a client list contains. |
Updated 5 days ago
