CA sets
akamai_mtlstruststore_ca_sets
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.
Lists all CA sets available to you.
data "akamai_mtlstruststore_ca_sets" "my-ca-sets" {
name_prefix = "test"
activated_on = "STAGING"
}
output "my-ca-sets" {
value = data.akamai_mtlstruststore_ca_sets.my-ca-sets
}
my-ca-sets = {
activated_on = "STAGING"
ca_sets = [
{
account_id = "A-CCT1234"
created_by = "jsmith"
created_date = "2025-01-04T11:43:15.578752Z"
deleted_by = null
deleted_date = null
description = "Testing a new CA set"
id = "12345"
latest_version = 3
name = "test_ca-set-1"
production_version = 1
staging_version = 2
status = "NOT_DELETED"
},
{
account_id = "A-CCT1234"
created_by = "jasmith"
created_date = "2025-03-30T17:48:47.899306Z"
deleted_by = null
deleted_date = null
description = "Testing another CA set"
id = "98765"
latest_version = 1
name = "test_ca-set-2"
production_version = null
staging_version = 1
status = "NOT_DELETED"
},
]
name_prefix = "test"
}
Arguments
Pass an empty data
block to get all CA sets. You can also pass optional arguments to narrow down the results.
Argument | Required | Description |
---|---|---|
name_prefix |
Filters CA sets by name prefix. | |
activated_on |
Returns only those CA sets whose versions are active on the specified network. Possible values are:
Note: The |
Attributes
Returned to you is a set of cat_sets
with their details.
Argument | Description |
---|---|
account_id | The account's ID that the CA set belongs to. |
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. |
deleted_date | The timestamp indicating when the CA set was deleted. |
deleted_by | The user who deleted the CA set. |
description | Any additional comments added to the CA set when creating it. |
status | The CA set's deletion status. Possible values are: NOT_DELETED , DELETING , or DELETED . |
latest_version | The CA set's most recent version number. |
production_version | The version number of the CA set that is active on the production network. |
staging_version | The version number of the CA set that is active on the staging network. |
Updated about 22 hours ago