Esta página foi traduzida automaticamente. Ler o original em inglês.

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.

Proveniência

OficialAssinado por uma identidade de assinatura que este catálogo reconhece como editor oficial.
Digest do conteúdo
sha256:e4ceb14cd19c8289839188871966488b1b838922263d39da8a55128c0af45a22
Publicado
2026-11-10T10:28:28Z
Identidade de assinatura
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Assinatura

  • 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

Referência nesta versão

oci://hub.aggrega.ai/recipe/terraform/memcached-memorystore:1.0.0
Destino
—
Implementa
core/datastore/memcached:1.0.0

Fornece

Modelos de ponteiros determinísticos que esta receita liga para os consumidores.

NomeModelo
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.node_address}{{ end }}
port11211
protocolmemcached

Workload

Nenhum modelo de carga de trabalho declarado.

Variáveis locais

NomeModelo
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 }}

Mapeamento de valores

Nenhum mapeamento de valores declarado.

Relações

Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.

Usa

  • implementaimplementacontrato compatível

    core/datastore/memcached:1.0.0

    Todas as saídas obrigatórias são satisfeitas e cada saída fornecida é nomeada no contrato.

Usado por

Nada no catálogo depende desta entidade.

Referência do conceito Recipe →

O catálogo Aggrega — um índice aberto de componentes, funcionalidades, receitas e dos plugins que os renderizam.

Criado com o sistema de design partilhado do Aggrega.

Privacidade