Create or update an EdgeKV namespace.

resource "akamai_edgekv" "my_edgekv" {
  network              = "staging"
  namespace_name       = "My_EdgeKV"
  retention_in_seconds = 15724800
  group_id             = 12345
// create
akamai_edgekv.my_edgekv: Creation complete after 6s [id=My_EdgeKV:staging]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

// update
akamai_edgekv.my_edgekv: Modifications complete after 3s [id=My_EdgeKV:staging]

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.


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

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)
initial_dataA list of key-value pairs called items to initialize the namespace. These items are valid only for database creation, updates are ignored.