Akamai Edge Redirector Cloudlet
Rule-driven edge redirects (vanity URLs, migrations) managed as code with versioned policy activation.
Verification
Plan-validatedPassed: 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
- SHA-256 checksum
- Signature (pending)
Functional
- Live test pending (no cloud run yet)
Last verified 2026-06-28 · how we verify
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, andtflint. 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'sedgeRedirectorbehavior to take effect.
What you get:
akamai_cloudlets_policy(cloudlet_code = "ER"), traditional or shared.- A typed
match_ruleslist compiled into the policy'serMatchRuleJSON. - Opt-in
akamai_cloudlets_policy_activationthat ships the version this apply produced.
Secure defaults
- Redirects default to
status_code = 301(permanent) — the right choice for migrations/vanity URLs; opt into302only for temporary moves. - Activation is off by default. The first apply only creates the policy
version; set
activate = trueto push live, targetingSTAGINGunless you ask forPRODUCTION. - A precondition blocks activation of a traditional policy when
associated_propertiesis 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