CA set activations

akamai_mtlstruststore_ca_set_activations

📘

Beta

Hello. 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 activations and deactivations for a CA set.

data "akamai_mtlstruststore_ca_set_activations" "my-ca-set-activations" {
  ca_set_id = "12345"
  type      = "ACTIVATE"
  version   = 1
}

output "my-ca-set-activations" {
  value = data.akamai_mtlstruststore_ca_set_activations.my-ca-set-activations
}
my-ca-set-activations = {
  activations = [
    {
      created_by    = "jsmith"
      created_date  = "2025-05-04T11:54:14.853Z"
      id            = 23456
      modified_by   = "jsmith"
      modified_date = "2025-05-04T12:10:39.638Z"
      network       = "PRODUCTION"
      status        = "COMPLETE"
      type          = "ACTIVATE"
      version       = 1
    },
    {
      created_by    = "jsmith"
      created_date  = "2025-05-04T11:43:51.987Z"
      id            = 34567
      modified_by   = "jsmith"
      modified_date = "2025-05-04T11:50:38.767Z"
      network       = "STAGING"
      status        = "COMPLETE"
      type          = "ACTIVATE"
      version       = 1
    },
  ]
  ca_set_id   = "12345"
  ca_set_name = "my-ca-set"
  network     = null
  status      = null
  type        = "ACTIVATE"
  version     = 1
}

Arguments

Pass a CA set's ID or name in the data block to list all its activations and deactivations. Provide other optional arguments to narrow down your results.

ArgumentRequiredDescription
ca_set_idYour CA set's ID.
ca_set_nameYour CA set's name. It must match exactly. If there are multiple CA sets with the same name, you get an error. In this case, use the ca_set_id argument.
versionReturns the activations and deactivations for a specified CA set's version number.
networkFilters the activations and deactivations by a specified network, either STAGING or PRODUCTION.
statusFilters the activations and deactivations by a specified status, either IN_PROGRESS, COMPLETE, or FAILED.
typeFilters the activations and deactivations by their types, either ACTIVATE, DEACTIVATE, or DELETE.

Attributes

Returned to you is a set of activations, containing activations and deactivations for the CA set.

AttributeDescription
idThe CA set's activation ID.
versionThe CA set's version number.
networkThe network for any activation-related activities, either STAGING or PRODUCTION.
created_byThe user who requested the activation.
created_dateThe timestamp indicating when the activation was requested.
modified_byThe user who modified the activation.
modified_dateThe timestamp indicating when the activation was last modified. Returns null if not yet modified.
statusThe activation-related activity's status, either IN_PROGRESS, COMPLETE, or FAILED.
typeThe type of the activation-related activity, either ACTIVATE, DEACTIVATE, or DELETE.