Activation history

akamai_datastream_activation_history

Get activation status changes for a given data stream across all versions.

data "akamai_datastream_activation_history" "my_activation_history" {
  stream_id = 12345
}

output "my_activation_history" {
  value = data.akamai_datastream_activation_history.my_activation_history
}
my_activation_history = {
  activations = [
    {
      modified_by    = "jsmith"
      modified_date  = "2023-06-14T12:51:06Z"
      status         = "ACTIVATED"
      stream_id      = 12345
      stream_version = 2
    },
    {
      modified_by    = "jsmith"
      modified_date  = "2023-06-14T12:43:33Z"
      status         = "DEACTIVATED"
      stream_id      = 12345
      stream_version = 1
    },
  ]
  id        = "12345"
  log_type    = null
  stream_id = 12345
}

Arguments

Pass a data stream ID to get information about your stream.

ArgumentRequiredDescription
stream_id✔️Your data stream's ID.
log_typeThe type of activation history to get. Possible values are:
  • CDN for delivery history.
  • APPSEC for security configuration history.
The default value is CDN.

Attributes

Returned in the activations set are details about modifications made to your datas treams.

AttributeDescription
modified_byThe name of the user who activated or deactivated the stream.
modified_dateThe date and time of an activation status change.
stream_idThe stream's ID.
stream_versionThe stream's version.
statusThe current activation status.