Recipe
redis-elasticache
Redis OSS 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, fetched from its git repository at that tag, vendored, and pinned in the entity.lock beside this Recipe. ElastiCache runs Redis OSS up to 7.1, so infra.engine_version takes 7.1, 7.0, 6.2, 6.0, 5.0.6 or 4.0.10, read off the start of the value; from 8 on it halts naming the key, the Component's default included, so the Release sets the version on this target. ElastiCache serves vector search on Valkey alone, so vector_search is empty and a gateway's semantic cache halts on this store. Reach for this realization where the cache is an ElastiCache service in the operator's AWS account; reach for valkey-elasticache for a newer engine, or redis on helm or compose where it runs as a container. host is a Terraform reference to the module's primary endpoint, or infra.overrides.host while set; port is infra.port. infra.overrides.subnet_group is required. maxmemory_policy and databases are set through a parameter group. maxmemory, appendonly, persistence, infra.overrides.image, and databases below 6.0 halt naming the key; compute and storage are not read. With infra.client_tls the service encrypts in transit and protocol is redis-tls; an attached password becomes the AUTH token, and needs client_tls.
Походження
- Дайджест вмісту
- sha256:ee8d4385ed67c4da49e5d07ad50bbb5e7d688f902783e19a5e8b1eeddc9e21ac
- Опубліковано
- 2026-11-10T10:28:47Z
- Ідентичність підписувача
- 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:ed7aa83b7306c61eedc85b513d4ec0ec5ed856a5385e9bf7166f352cda7e541c
Посилання на цю версію
oci://hub.aggrega.ai/recipe/terraform/redis-elasticache:1.0.0- Ціль
- —
- Реалізує
- core/datastore/redis: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 }}redis-tls{{ else }}redis{{ end }} |
| vector_search |
Workload
Шаблон робочого навантаження не оголошено.
Локальні значення
| Назва | Шаблон |
|---|---|
| engine_major | {{ regexFind `^[0-9]+` (toString .infra.engine_version) }} |
| engine_version | {{ $t := toString .infra.engine_version }}{{ if and .locals.engine_major (ge (atoi .locals.engine_major) 6) }}{{ regexFind `^[0-9]+\.[0-9]+` $t }}{{ else }}{{ regexFind `^[0-9]+\.[0-9]+\.[0-9]+` $t }}{{ end }} |
| family | {{ $m := .locals.engine_major }}{{ if eq $m "6" }}redis6.x{{ else if and $m (ge (atoi $m) 7) }}redis{{ $m }}{{ else }}redis{{ regexFind `^[0-9]+\.[0-9]+` .locals.engine_version }}{{ end }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
Відображення значень
Відображення значень не оголошено.
Зв’язки
Типізовані ребра до інших опублікованих сутностей і від них. Відсилання без опублікованої цілі відображається як розірване ребро, а не як посилання.
Використовує
- реалізуєреалізуєконтракт сумісний
core/datastore/redis:1.0.0
Усі обов’язкові виходи задоволено, і кожен наданий вихід названо в контракті.
Використовується в
Ніщо в каталозі не залежить від цієї сутності.