EdgeKV

akamai_edgekv

Create, update, or delete an EdgeKV namespace.

You can delete your namespace only if it has no associated akamai_edgekv_group_items resources. First, delete any group items linked to the namespace, then proceed with deleting the namespace itself.

resource "akamai_edgekv" "my_edgekv" {
  network              = "staging"
  namespace_name       = "My_EdgeKV"
  retention_in_seconds = 15724800
  group_id             = 12345
  timeouts {
    delete = "10m"
  }
}

Arguments

Pass a namespace's name, a network, its retention period, and your group ID to create or update and activate your database.

ArgumentAttributeDescription
namespace_name✔️The name of your EdgeKV namespace.
network✔️The network on which you want to activate the EdgeKV database, staging or production.
retention_in_seconds✔️The retention period for data in the namespace. An update to the retention period only applies to data added or updated in the namespace after the update is complete.
group_id✔️The group ID for the EdgeKV namespace.
geo_locationThe storage location for data when creating a namespace on the production network. This can help optimize performance by storing data where most or all of your users are located. Possible values for production. The default is US.
  • US (United States)
  • EU (Europe)
  • JP (Japan)
timeoutsUses the delete argument to override the provider's delete operation timeout. By default, it's 20 minutes.

Namespace deletion requires several minutes to complete before the namespace is fully removed. The default 20-minute timeout is sufficient for the standard EdgeKV namespace deletion, typically completed in 6–7 minutes. Increasing the timeout may help if deletion takes longer than expected due to API latency. Decreasing the timeout isn’t recommended, as it can’t reduce the time required to complete the deletion.

Value is a string containing a number and its time unit, h for hours, m for minutes, s for seconds. You can specify one, two, or all three units. For example:
  • 1h3m5s
  • 2h5m
  • 3m

Attributes

There is no standard output for this resource.


Did this page help you?