Activation

akamai_clientlist_activation

Activate, deactivate, or update an activation for a client list. To deactivate your client list, run terraform destroy.

resource "akamai_clientlist_activation" "my_activation" {
  list_id                 = "12345_MYCLIENTLIST"
  version                 = 3
  network                 = "STAGING"
  comments                = "Activating a client list on staging"
  notification_recipients = ["jsmith@example.com"]
}
 my_activation = {
  comments                = "Activating a client list on staging"
  list_id                 = "12345_MYCLIENTLIST"
  network                 = "STAGING"
  notification_recipients = [
    "jsmith@example.com",
  ]
  status                  = "ACTIVE"
  version                 = 3
}
variable "list_id" {
  type        = string
  description = "My client list's ID"
  default     = "12345"
}

variable "network" {
  type        = string
  description = "The network environment the client list is active or should be activated on."
  default     = "STAGING"
}

variable "version" {
  type        = string
  description = "The client list's version."
  default     = "12345"
}
# local
list_id = akamai_clientlist_activation.my_activation.list_id
network = akamai_clientlist_activation.my_activation.network
version = akamai_clientlist_activation.my_activation.version

# tvars
list_id = var.list_id
network = var.network
version = var.version

Arguments

Pass all arguments to activate your client list.

Note: An update of the comments or notification_recipient arguments without an additional change of version, list ID, or network does not trigger an activation, deactivation, or change in your state.

ArgumentRequiredDescription
list_id✔️Your client list's ID.
network✔️The network on which you're activating your client list. Either STAGING or PRODUCTION.
version✔️The version of your client list to activate.
notification_recipientsA list of email addresses that receive activation status notifications.
commentsA human-readable statement about the activation.

Attributes

There is no default standard output. Adding an output block returns a mirror of the items in your declaration with the addition of the activation's status. Possible values for status are:

  • ACTIVE
  • INACTIVE
  • MODIFIED
  • PENDING_ACTIVATION
  • PENDING_DEACTIVATION
  • FAILED

Did this page help you?