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.
Походження
- Дайджест вмісту
- sha256:742f297d131d2b39d11c801a8cb4cb95091da4f0ebf6712ca808ed8499fdd925
- Опубліковано
- 2026-11-10T10:28:59Z
- Ідентичність підписувача
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Підпис
- Офіційнийapplication/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
Посилання на цю версію
oci://hub.aggrega.ai/recipe/terraform/valkey-elasticache:1.0.0- Ціль
- —
- Реалізує
- core/datastore/valkey:1.0.0
Надає
Детерміновані шаблони вказівників, які цей рецепт під’єднує для споживачів.
| Назва | Шаблон |
|---|---|
| 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
Шаблон робочого навантаження не оголошено.
Локальні значення
| Назва | Шаблон |
|---|---|
| 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 }} |
Відображення значень
Відображення значень не оголошено.
Зв’язки
Типізовані ребра до інших опублікованих сутностей і від них. Відсилання без опублікованої цілі відображається як розірване ребро, а не як посилання.
Використовує
- реалізуєреалізуєконтракт сумісний
core/datastore/valkey:1.0.0
Усі обов’язкові виходи задоволено, і кожен наданий вихід названо в контракті.
Використовується в
Ніщо в каталозі не залежить від цієї сутності.