Recipe

valkey-elasticache

Valkey on Amazon ElastiCache, as one replication group with cluster mode disabled, realized by the published ElastiCache module of the terraform-aws-modules project, terraform-aws-modules/elasticache/aws at v1.11.2, Apache-2.0. The module is fetched from its git repository at that tag and vendored into the component's own directory; the pin is the commit the tag names and the digest of its archive, recorded in the entity.lock beside this Recipe. Reach for this realization where the cache is an ElastiCache service in the operator's AWS account; reach for valkey or valkey-chart on helm, or valkey on compose, where it runs as a container. host publishes a Terraform reference to the module's primary endpoint output, which resolves for a consumer authored as a source: Recipe in the same root configuration, and port the configured infra.port. Set infra.overrides.host to publish the DNS name the operator points at the cache instead. infra.overrides.subnet_group is required. maxmemory_policy and databases are set through a parameter group. A value ElastiCache cannot apply — maxmemory, appendonly, persistence — halts the build naming the key; compute and storage are not read. With infra.client_tls true the service encrypts in transit and protocol is valkey-tls; an attached password becomes the AUTH token, and needs client_tls.

Provenance

OfficialSigned by a signing identity this catalog recognizes as an official publisher.
Content digest
sha256:742f297d131d2b39d11c801a8cb4cb95091da4f0ebf6712ca808ed8499fdd925
Published
2026-11-10T10:28:59Z
Signing identity
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signature

  • Officialapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:217f41003a5cff61838388f9b5a00416fa7fd228fa5fbfb05283d1cc8a942a32

Reference at this version

oci://hub.aggrega.ai/recipe/terraform/valkey-elasticache:1.0.0
Target
—
Implements
core/datastore/valkey:1.0.0

Provides

Deterministic pointer templates this recipe wires for consumers.

NameTemplate
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.replication_group_primary_endpoint_address}{{ end }}
port{{ .infra.port }}
protocol{{ if .infra.client_tls }}valkey-tls{{ else }}valkey{{ end }}

Workload

No workload template declared.

Locals

NameTemplate
engine_version{{ regexFind `^[0-9]+\.[0-9]+` (toString .infra.engine_version) }}
family{{ $p := splitList "." .locals.engine_version }}valkey{{ index $p 0 }}
operator_host{{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }}

Values mapping

No values mapping declared.

Relationships

Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.

Uses

  • implementsimplementscontract compatible

    core/datastore/valkey:1.0.0

    All required outputs are satisfied and every provided output is named in the contract.

Used by

Nothing in the catalog depends on this entity.

Recipe concept reference →

The Aggrega catalog — an open index of components, features, recipes, and the plugins that render them.

Built with the shared Aggrega design system.

Privacy