本頁面由機器翻譯。閱讀英文原文。

Recipe

redis-azure-managed

Redis on Azure Managed Redis, Microsoft's service running Redis Enterprise, offered under Microsoft's terms of service: one instance with its one database, rendered as Terraform for the azurerm provider. The published Azure/avm-res-cache-redisenterprise/azurerm module is not sourced, because it is not complete: it takes no persistence setting and no access-key setting, and leaves out two eviction policies the service offers. So this Recipe writes the body. Reach for it where the cache is an Azure Managed Redis instance in the operator's Azure subscription; reach for the ElastiCache Recipes on AWS, and redis on helm or compose for a container. The resource group exists beforehand; the Release names it and the region in infra.overrides, and the SKU sizes the cache. The service serves port 10000 and authenticates every client, with Microsoft Entra ID or with an access key it generates once access keys are turned on; it takes no password, so an attached one halts. It runs the Redis version it chooses, so infra.engine_version is not read, and the cache is created with no module, so vector_search is empty. host is a Terraform reference to the instance's host name, or infra.overrides.host while set; port is 10000. With infra.client_tls the service serves TLS alone and protocol is redis-tls; off, it serves plaintext, which needs access keys. maxmemory, databases, another port, infra.overrides.image and a server certificate halt naming the key; compute and storage are not read. It needs hashicorp/azurerm 5, so it goes in a different terraform boundary from terraform/postgres-flexible-server. The instance is named after the component, and an instance name holds up to 44 letters, digits and hyphens: the service checks the name together with the region's name against 63 characters, and a name of up to 44 fits every region, so a longer name halts the build.

版本

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:6341a8053b787a573b8d715963eb4cb6722b184e6290427a44e1b25a30a38717
發布時間
2026-11-19T08:41:16Z
簽署身分
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:61e3c20029aaf9b75e202180f4198cd759ca13068f1572051168f3dc1be662a0

此版本的參照

oci://hub.aggrega.ai/recipe/terraform/redis-azure-managed:1.0.1
目標
—
實作
core/datastore/redis:1.0.0

提供

此配方為使用端連接的確定性指標範本。

名稱範本
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.hostname}{{ end }}
port10000
protocol{{ if .infra.client_tls }}redis-tls{{ else }}redis{{ end }}
vector_search

Workload

未宣告任何工作負載範本。

Locals

名稱範本
sku{{ optional (optional .infra "overrides" dict) "sku_name" "Balanced_B0" }}
ha{{ $h := optional (optional .infra "overrides" dict) "high_availability_enabled" true }}{{ if kindIs "bool" $h }}{{ $h }}{{ else }}true{{ end }}
access_keys{{ $k := optional (optional .infra "overrides" dict) "default_database_access_keys_authentication_enabled" false }}{{ if kindIs "bool" $k }}{{ $k }}{{ else }}false{{ end }}
eviction{{ with optional .values "maxmemory_policy" "" }}{{ get (dict "noeviction" "NoEviction" "allkeys-lru" "AllKeysLRU" "allkeys-lfu" "AllKeysLFU" "allkeys-random" "AllKeysRandom" "volatile-lru" "VolatileLRU" "volatile-lfu" "VolatileLFU" "volatile-random" "VolatileRandom" "volatile-ttl" "VolatileTTL") (toString .) }}{{ end }}
operator_host{{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }}

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

  • 實作實作契約相容

    core/datastore/redis:1.0.0

    所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。

被使用於

目錄中沒有任何項目相依於此實體。

Recipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權