Recipe
rabbitmq-amazon-mq
RabbitMQ on Amazon MQ, as one broker in the operator's VPC, rendered by vendoring a Terraform module kept beside this Recipe. The published cloudposse/mq-broker/aws module is not sourced, because its root calls two more modules from the Terraform registry, which initialising it would fetch outside any pin. Reach for it where the broker is an Amazon MQ broker in the operator's AWS account; reach for rabbitmq or rabbitmq-cluster on helm, or rabbitmq on compose, where it runs as a container. Amazon MQ serves AMQP over TLS alone, so port is 5671 and protocol amqps, which is what tells a consumer to connect over TLS. host publishes a reference to the broker's endpoint; infra.overrides.host publishes the operator's DNS name instead, which a client checking the certificate cannot use, since the certificate names the broker's own endpoint. The password is required: with nothing attached the build halts naming the slot. It is the core/random-password attachment drawn at apply time and handed over as a Terraform reference, so the rendered files carry none, and the attachment must leave values.symbols off and keep values.length at 12 or more, as the service's password rules need. Any other credential halts. infra.overrides.subnet_ids is required. infra.engine_version must name a version the service offers, so the Component's default halts here; the container-sizing, port and controller keys, and values.metrics_enabled, halt away from the Component's defaults.
来源
- 内容摘要
- sha256:c4658ac6aeecef7c0fbf4bbc847fc53302bd1f21635562d89a4651e072e781eb
- 发布时间
- 2026-11-10T10:28:44Z
- 签名身份
- 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:3c4a491820281a00652baf215e9b86d0fa2524d422076cf7ad3d95006c02a7a0
此版本的引用
oci://hub.aggrega.ai/recipe/terraform/rabbitmq-amazon-mq:1.0.0- 目标
- —
- 实现
- core/messaging/rabbitmq:1.0.0
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.amqp_host}{{ end }} |
| port | 5671 |
| protocol | amqps |
| metrics_endpoint | |
| metrics_service | |
| metrics_service_port | |
| metrics_path |
Workload
未声明工作负载模板。
局部变量
| 名称 | 模板 |
|---|---|
| engine_version | {{ regexFind `^[0-9]+\.[0-9]+` (toString .infra.engine_version) }} |
| instance_type | {{ optional (optional .infra "overrides" dict) "instance_type" "mq.m7g.medium" }} |
| deployment_mode | {{ optional (optional .infra "overrides" dict) "deployment_mode" "SINGLE_INSTANCE" }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/messaging/rabbitmq:1.0.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。