---
updatedAt: 2026-03-01T18:31:45.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/terraform/v9.3/llms.txt
---

# 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](https://github.com/akamai/terraform-provider-akamai/issues) to make sure this data source works like you need and expect.

List all activities performed on a CA set.

```json Query
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
}
```
```json Standard output
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.

| Argument | Required | Description                                                                                                                                         |
| -------- | :------: | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`     |          | Your CA set's ID.                                                                                                                                   |
| `name`   |          | Your 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. |
| `start`  |          | Returns any activities after the specified timestamp. To specify a fixed time range, pair it with the `end` argument.                               |
| `end`    |          | Returns 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.

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

# Sibling pages

* [CA set](https://techdocs.akamai.com/terraform/v9.3/docs/mets-ds-ca-set.md)
* [CA sets](https://techdocs.akamai.com/terraform/v9.3/docs/mets-ds-ca-sets.md)
* [CA set activation](https://techdocs.akamai.com/terraform/v9.3/docs/mets-ds-ca-set-activation.md)
* [CA set activations](https://techdocs.akamai.com/terraform/v9.3/docs/mets-ds-ca-set-activations.md)
* [CA set associations](https://techdocs.akamai.com/terraform/v9.3/docs/mets-ds-ca-set-associations.md)
* [CA set certificates](https://techdocs.akamai.com/terraform/v9.3/docs/mets-ds-ca-set-certificates.md)
* [CA set versions](https://techdocs.akamai.com/terraform/v9.3/docs/mets-ds-ca-set-versions.md)