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

  • 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, 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