IaC Bazaar
AkamaiPlan-validated

Akamai Edge Redirector Cloudlet

Rule-driven edge redirects (vanity URLs, migrations) managed as code with versioned policy activation.

terraformEdge & DNS#akamai
akamai-cloudlets-edge-redirectorterraform 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-cloudlets-edge-redirector-1.0.0.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/akamai-cloudlets-edge-redirector/signature

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

# 4. (optional) confirm the checksum too
echo "356c7a509437b33b3d7ccda0ad4b8609d5992150b77207a9db1f3d44be0d9670  akamai-cloudlets-edge-redirector-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "cloudlets_edge_redirector" {
  source  = "www.iac-bazaar.com/iac-bazaar/akamai-cloudlets-edge-redirector/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 Basic, so its contract unlocks when you buy it.

Documentation

akamai-cloudlets-edge-redirector

Akamai Edge Redirector Cloudlet as code: rule-driven edge redirects (vanity URLs, site migrations) with versioned policy activation. The match-rule JSON is built through Akamai's own akamai_cloudlets_edge_redirector_match_rule data source, so the rule shape is type-checked by the provider instead of hand-written JSON. Works with Terraform and OpenTofu (>= 1.6), Akamai provider >= 10.0, < 11.0.

Status: static-validated, live-test pending. Ships under live-test quarantine — validated with tofu fmt, tofu validate, and tflint. Real apply → activate → destroy against an Akamai account is pending a cloud sandbox. Requires a Cloudlets entitlement, and a traditional policy must be wired to a delivery property's edgeRedirector behavior to take effect.

What you get:

  • akamai_cloudlets_policy (cloudlet_code = "ER"), traditional or shared.
  • A typed match_rules list compiled into the policy's erMatchRule JSON.
  • Opt-in akamai_cloudlets_policy_activation that ships the version this apply produced.

Secure defaults

  • Redirects default to status_code = 301 (permanent) — the right choice for migrations/vanity URLs; opt into 302 only for temporary moves.
  • Activation is off by default. The first apply only creates the policy version; set activate = true to push live, targeting STAGING unless you ask for PRODUCTION.
  • A precondition blocks activation of a traditional policy when associated_properties is empty, so you never activate a redirect that no property actually runs.
  • Match rules are an ordered list (first match wins) — put most-specific rules first.

Provider pin

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

License

Commercial — LicenseRef-IaCBazaar-Commercial. © IaC Bazaar. Original work (not derived from a third-party module).

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

Related modules