EdgeKV
akamai_edgekv
The akamai_edgekv resource lets you control EdgeKV database functions outside EdgeWorkers JavaScript code. Refer to the EdgeKV documentation for more information.
Example
resource "akamai_edgekv" "test_staging" {
network = "staging"
namespace_name = "Marketing"
retention_in_seconds = 15724800
group_id = 4284
geo_location = "US"
initial_data {
key = "lang"
value = "English"
group = "translations"
}
}
Arguments
This resource supports these arguments:
namespace_name- (Required) The name of the namespace.network- (Required) The network you want to activate the EdgeKV database on. For the Staging network, specify eitherSTAGING,STAG, orS. For the Production network, specify eitherPRODUCTION,PROD, orP. All values are case insensitive.group_id- (Required) Thegroup IDfor the EdgeKV namespace. This numeric value will be required in the next EdgeKV API version.retention_in_seconds- (Required) Retention period for data in this namespace, or 0 for indefinite. An update of this value will just affect new EdgeKV items.geo_location- (Optional) 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. The value defaults toUSon theSTAGINGandPRODUCTIONnetworks. For a list of supported geoLocations on thePRODUCTIONnetwork refer to the EdgeKV documentation.initial_data- (Optional) List of key-value pairs called items to initialize the namespace. These items are valid only for database creation, updates are ignored.
Updated 2 months ago
