CA set activities

akamai_mtlstruststore_ca_set_activities

📘

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 activities performed on a CA set.

data "akamai_mtlstruststore_ca_set_activities" "my-ca-set-activities" {
  id = "12345"
}

output "my-ca-set-activities" {
  value = data.akamai_mtlstruststore_ca_set_activities.my-ca-set-activities
}
my-ca-set-activities = {
  activities   = [
    {
      activity_by   = "jsmith"
      activity_date = "2025-05-04T11:43:52.029262Z"
      network       = "STAGING"
      type          = "ACTIVATE_CA_SET_VERSION"
      version       = 1
    },
    {
      activity_by   = "jsmith"
      activity_date = "2025-05-04T11:43:39.19583Z"
      network       = null
      type          = "CREATE_CA_SET_VERSION"
      version       = 1
    },
    {
      activity_by   = "jsmith"
      activity_date = "2025-05-04T11:43:15.626552Z"
      network       = null
      type          = "CREATE_CA_SET"
      version       = null
    },
  ]
  created_by   = "jsmith"
  created_date = "2025-05-04T11:43:15.578752Z"
  deleted_by   = null
  deleted_date = null
  end          = null
  id           = "12345"
  name         = "my-ca-set"
  start        = null
  status       = "NOT_DELETED"
}

Arguments

Pass a CA set's ID or name in the data block to get its activities. Provide additional arguments to narrow down the results.

ArgumentRequiredDescription
idYour CA set's ID.
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 id argument.
startReturns any activities after the specified timestamp. To specify a fixed time range, pair it with the end argument.
endReturns any activities before the specified timestamp. To specify a fixed time range, pair it with the start argument.

Attributes

Returned to you are the details of the CA set with its activities.

Attribute Description
id The CA set's ID.
name The CA set's name.
created_date The timestamp indicating when the CA set was created.
created_by The user who created the CA set.
status The CA set's deletion status. Possible values are: NOT_DELETED, DELETING, or DELETED.
deleted_date The timestamp indicating when the CA set was deleted. Returns null if there was no delete request.
deleted_by The user who deleted the CA set. Returns null if there was no delete request.
activities Activities performed on the CA set. Each activity record includes:
  • type. The type of the CA set activity. Possible values are:
    • CREATE_CA_SET indicates the creation of the CA set.
    • CREATE_CA_SET_VERSION indicates the creation of the CA set version.
    • ACTIVATE_CA_SET_VERSION indicates the activation of the CA set version.
    • DEACTIVATE_CA_SET_VERSION indicates the deactivation of the CA set version.
    • DELETE_CA_SET indicates the deletion of the CA set.
  • network. The network for any activation-related activities, either STAGING or PRODUCTION.
  • version. The CA set's version number.
  • activity_date. The timestamp indicating when the CA set activity occurred.
  • activity_by. The user who initiated the CA set activity.