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 module Microsoft publishes for the service is not sourced, because it is not complete, 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 vector_search is empty. 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. 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, so a longer name halts the build.
Nguồn gốc
- Digest nội dung
- sha256:e7d87e36f8ee56b4bce1d2fbc96f708290b88d9dd5d4e07f3d05f0efbb22bc42
- Đã xuất bản
- 2026-11-19T09:05:45Z
- 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:67003024f457682ca0b127b065f3d1475ee9a6e5a3a10113846a3d91b3ae0422
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/terraform/redis-azure-managed:1.0.2- Đích
- —
- Triển khai
- core/datastore/redis: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ên | Mẫu |
|---|---|
| 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
Chưa khai báo mẫu khối lượng công việc nào.
Giá trị cục bộ
| Tên | Mẫu |
|---|---|
| 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 }} |
Á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/redis: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.