IaC Bazaar
AkamaiPlan-validated

Akamai EdgeWorker with EdgeKV

Deploy JavaScript at the edge with bundle versioning, EdgeKV namespace, and network activation in one module.

terraformEdge & DNS#akamai
akamai-edgeworkerterraform v1.7

Verification

Plan-validated

Passed: module logic verified on a mocked plan - inputs, validation rules, conditional creation and outputs resolve (no real provider, no cloud).

Conformance

  • Static validation (fmt · validate · tflint)
  • Security scan: findings disclosed (Checkov)
  • Plan tests (mocked: validation rules · outputs)

Provenance

Functional

  • Live test pending (no cloud run yet)

Last verified 2026-06-28 · how we verify

Verify this download

cosign · sha-256

Don't take our word for it. Every release is signed with cosign - check the bytes against our pinned public key before you trust them.

# 1. Our pinned public key - fetch once, trust out-of-band
curl -O https://www.iac-bazaar.com/cosign.pub

# 2. This module's Sigstore bundle
curl -o akamai-edgeworker-1.0.0.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/akamai-edgeworker/signature

# 3. Verify the tarball you downloaded
cosign verify-blob \
  --key cosign.pub \
  --bundle akamai-edgeworker-1.0.0.sigstore.json \
  akamai-edgeworker-1.0.0.tar.gz
# → Verified OK

# 4. (optional) confirm the checksum too
echo "f2dfde7ecaab6075d5e4af2eee4f0e08f803e7b6055b0ffdd51d3e9496a8a611  akamai-edgeworker-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "edgeworker" {
  source  = "www.iac-bazaar.com/iac-bazaar/akamai-edgeworker/akamai"
  version = "1.0.0"
}

Paid module — needs a purchase (or a subscription that covers it) plus a registry token from /account/tokens. Full setup: registry docs.

Inputs & outputs

Create a free account to read this module's contract

The declared contract — every input name, type, default and description, plus every output — is shown to signed-in accounts, not to anonymous visitors.

A free account sees the contract of every Free module. This one is Premium, so its contract unlocks when you buy it.

Documentation

akamai-edgeworker

Status: static-validated, live-test pending. This module ships under live-test quarantine: it passes tofu fmt, tofu validate, and tflint, but a real apply → verify → destroy cycle has not yet run (no Akamai sandbox account in CI). Treat the resource graph as reviewed-but-unproven against a live tenant.

Deploy JavaScript at the edge on Akamai EdgeWorkers, with bundle versioning, an optional EdgeKV namespace for low-latency key/value reads, and a guarded network activation — in one module. Works with Terraform and OpenTofu (>= 1.6), Akamai provider >= 10.0, < 11.0.

What you get:

  • An akamai_edgeworker tied to your group and resource tier, with the code bundle (built outside Terraform as a .tgz) tracked by hash so a changed bundle produces a new version.
  • A guarded akamai_edgeworkers_activation that defaults to STAGING — promote to production only after verification. Activation is automatically skipped unless a bundle is present (enforced by a precondition).
  • An optional akamai_edgekv namespace plus seeded akamai_edgekv_group_items, with production data residency (US/EU/JP) wired through.

Secure defaults

  • Staging-first activation. activation_network defaults to STAGING; you must explicitly opt into PRODUCTION.
  • No silent half-deploys. A precondition fails the plan if activate = true but no local_bundle is supplied, so you never "activate" an empty version.
  • No secrets at the edge. edgekv_items is plaintext key/value storage; the variable docs and this README state it is for non-secret data (flags, routing hints) only. Keep credentials in a real secrets store and inject at request time.
  • Initial revision pinned. auto_pin defaults to true (Akamai's safe default) so the activated revision is locked unless you deliberately opt out.
  • Sane retention. EdgeKV retention is validated to be 0 (indefinite) or at least one day, preventing accidental sub-day expiry.

Provider

akamai = {
  source  = "akamai/akamai"
  version = ">= 10.0, < 11.0"
}

License

Commercial — LicenseRef-IaCBazaar-Commercial.

Usage code & full reference unlock after purchase

The complete copy-paste usage, the full input/output reference, and operational notes ship with your licence - shown here and bundled in the download.

  • Usage
  • Inputs
  • Outputs
  • Notes