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.
来源
- 内容摘要
- sha256:c8752c8f57619349b00cf9a282192dfd40e9dc711361df80e41ff31668553e0a
- 发布时间
- 2026-11-10T10:28:46Z
- 签名身份
- 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:198bb1283682eea7d299af8f811fbdf35ea6349828726d5ba896556c661e89ff
此版本的引用
oci://hub.aggrega.ai/recipe/terraform/redis-azure-managed:1.0.0- 目标
- —
- 实现
- core/datastore/redis:1.0.0
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.hostname}{{ end }} |
| port | 10000 |
| protocol | {{ if .infra.client_tls }}redis-tls{{ else }}redis{{ end }} |
| vector_search |
Workload
未声明工作负载模板。
局部变量
| 名称 | 模板 |
|---|---|
| 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
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。