GuideReference
TrainingSupportCommunity
Guide

EdgeKV group items

akamai_edgekv_group_items

Create or update an EdgeKV group and its items.

resource "akamai_edgekv_group_items" "my_group_items" {
  namespace_name = "My_EdgeKV"
  network        = "staging"
  group_name     = "My_EKV_group"
  items = {
    key1 = "value1"
    key2 = "value2"
    key3 = "value3"
  }
  timeouts {
    default = "1h"
  }
}
// create
akamai_edgekv_group_items.my_group: Creation complete after 1m7s [id=My_EdgeKV:staging:My_EKV_group]

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

// update
akamai_edgekv_group_items.my_group: Modifications complete after 22s [id=My_EdgeKV:staging:My_EKV_group]

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

Arguments

ArgumentRequiredDescription
namespace_name✔️The name of your EdgKV namespace.
network✔️The network on which you want to activate the EdgeKV database, staging or production.
group_name✔️The name you give to the EdgeKV group that will contain your items.
itemsThe key-value pairs that represent the information saved in the database.
timeoutsUses a default argument to override the HashiCorp processing timeout of 20 minutes. Value is a string containing a number and its time reference, h, m, s. You can pass one, two, or all values. For example:
  • 1h3m5s
  • 2h5m
  • 3m