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

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

List all activations and deactivations for a CA set.

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

| Argument      | Required | Description                                                                                                                                                |
| ------------- | :------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ca_set_id`   |          | Your CA set's ID.                                                                                                                                          |
| `ca_set_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 `ca_set_id` argument. |
| `version`     |          | Returns the activations and deactivations for a specified CA set's version number.                                                                         |
| `network`     |          | Filters the activations and deactivations by a specified network, either `STAGING` or `PRODUCTION`.                                                        |
| `status`      |          | Filters the activations and deactivations by a specified status, either `IN_PROGRESS`, `COMPLETE`, or `FAILED`.                                            |
| `type`        |          | Filters 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.

| Attribute       | Description                                                                                         |
| --------------- | --------------------------------------------------------------------------------------------------- |
| `id`            | The CA set's activation ID.                                                                         |
| `version`       | The CA set's version number.                                                                        |
| `network`       | The network for any activation-related activities, either `STAGING` or `PRODUCTION`.                |
| `created_by`    | The user who requested the activation.                                                              |
| `created_date`  | The timestamp indicating when the activation was requested.                                         |
| `modified_by`   | The user who modified the activation.                                                               |
| `modified_date` | The timestamp indicating when the activation was last modified. Returns `null` if not yet modified. |
| `status`        | The activation-related activity's status, either `IN_PROGRESS`, `COMPLETE`, or `FAILED`.            |
| `type`          | The type of the activation-related activity, either `ACTIVATE`, `DEACTIVATE`, or `DELETE`.          |

# 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 activities](https://techdocs.akamai.com/terraform/v9.3/docs/mets-ds-ca-set-activities.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)