Recipe
memcached-memorystore
Memcached on Google Cloud Memorystore for Memcached, as one instance of one node in the operator's VPC network, rendered by vendoring a Terraform module kept beside this Recipe. The published terraform-google-modules/memorystore/google module is not sourced, because its memcache module calls a module from the Terraform registry, which initialising it would fetch outside any pin. Google is deprecating the service: it creates no instance in a new project after February 1, 2027, and shuts down on January 31, 2029. Reach for it where the cache is a Memorystore instance in the operator's Google Cloud project; reach for terraform/memcached-elasticache on AWS, and for memcached on helm or on compose where it runs as a container. The project, region and network are the operator's, named in infra.overrides.project_id, region and private_network, and the Recipe emits none of them: the network needs a private services access connection before the instance is created, which every service using it shares. The service offers no encryption in transit and no authentication, so the private network alone gates the cache, and infra.client_tls, a server_certificate and a password each halt naming the key or slot. host publishes a reference to the node's address, or the DNS name in infra.overrides.host; port is 11211. values.memory_limit and values.threads size the node, and max_item_size is a parameter; max_connections, an infra.replicas above 1 and another infra.port halt naming the key.
Procedencia
- Digest del contenido
- sha256:e4ceb14cd19c8289839188871966488b1b838922263d39da8a55128c0af45a22
- Publicado
- 2026-11-10T10:28:28Z
- Identidad de firma
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Firma
- Oficialapplication/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:b513165bdf7b122fcb3513e1a90d51e4e0e802710c348ac48328c53a2045b2f1
Referencia en esta versión
oci://hub.aggrega.ai/recipe/terraform/memcached-memorystore:1.0.0- Destino
- —
- Implementa
- core/datastore/memcached:1.0.0
Proporciona
Plantillas de punteros deterministas que esta receta cablea para los consumidores.
| Nombre | Plantilla |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.node_address}{{ end }} |
| port | 11211 |
| protocol | memcached |
Workload
No se declaró ninguna plantilla de carga de trabajo.
Variables locales
| Nombre | Plantilla |
|---|---|
| memcache_version | {{ $v := regexFind `^[0-9]+\.[0-9]+(\.[0-9]+)?` (toString .infra.engine_version) }}{{ if has $v (list "1.6" "1.6.15") }}MEMCACHE_1_6_15{{ else if has $v (list "1.5" "1.5.16") }}MEMCACHE_1_5{{ end }} |
| memory_mb | {{ optional .values "memory_limit" 1024 }} |
| cpu_count | {{ optional .values "threads" 1 }} |
| 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 }} |
Mapeo de valores
No se declaró ningún mapeo de valores.
Relaciones
Aristas tipadas hacia y desde otras entidades publicadas. Una referencia sin un destino publicado se muestra como una arista rota en lugar de como un enlace.
Usa
- implementaimplementacontrato compatible
core/datastore/memcached:1.0.0
Todas las salidas obligatorias se satisfacen y cada salida proporcionada está nombrada en el contrato.
Usado por
Nada en el catálogo depende de esta entidad.