Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

Recipe

memcached-elasticache

Memcached on Amazon ElastiCache, as one cluster of infra.replicas nodes, 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 memcached on helm or on compose where it runs as a container. host publishes a Terraform reference to the cluster's configuration endpoint, 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, and infra.engine_version must name a full version ElastiCache offers, such as 1.6.22. max_item_size is set through a parameter group. A value ElastiCache cannot apply — memory_limit, max_connections, threads, a password — halts the build naming the key; compute is not read. With infra.client_tls true the service encrypts in transit and protocol is memcached-tls.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:e8793acc13616dcea76bec3475e447b0a62f232740af97d7dbba9d8b138ee21b
Đã xuất bản
2026-11-10T10:28:27Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/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:41fed990146b34fbc9e890fc168b854874e17688aec4b22d5911c744278db21d

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/recipe/terraform/memcached-elasticache:1.0.0
Đích
—
Triển khai
core/datastore/memcached:1.0.0

Cung cấp

Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.

TênMẫu
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.cluster_address}{{ end }}
port{{ .infra.port }}
protocol{{ if .infra.client_tls }}memcached-tls{{ else }}memcached{{ end }}

Workload

Chưa khai báo mẫu khối lượng công việc nào.

Giá trị cục bộ

TênMẫu
engine_version{{ regexFind `^[0-9]+(\.[0-9]+)*` (toString .infra.engine_version) }}
family{{ $p := splitList "." .locals.engine_version }}{{ if ge (len $p) 2 }}memcached{{ index $p 0 }}.{{ index $p 1 }}{{ end }}
item_size{{ with optional .values "max_item_size" "" }}{{ $s := toString . }}{{ $n := regexFind `^[0-9]+` $s }}{{ $u := lower (trimPrefix $n $s) }}{{ if eq $u "k" }}{{ mul (int $n) 1024 }}{{ else if eq $u "m" }}{{ mul (int $n) 1048576 }}{{ else }}{{ $n }}{{ end }}{{ end }}
operator_host{{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }}

Ánh xạ values

Chưa khai báo ánh xạ values nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

  • triển khaitriển khaihợp đồng tương thích

    core/datastore/memcached:1.0.0

    Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.

Được sử dụng bởi

Không có gì trong danh mục phụ thuộc vào thực thể này.

Tài liệu tham khảo khái niệm Recipe →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư