Recipe
rabbitmq-amazon-mq
RabbitMQ on Amazon MQ, rendered as a CloudFormation fragment: one AWS::AmazonMQ::Broker in the operator's VPC. The cloudformation provider stamps the stack envelope and projects this Recipe's provides into the stack Outputs. Reach for it where the broker is an Amazon MQ broker in a CloudFormation stack; reach for terraform/rabbitmq-amazon-mq on terraform, and 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 the host of the broker's AMQP endpoint, read out of the endpoint URL when the stack deploys, inside the stack and through its export; 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 secret core/random-password creates in the stack, handed over as a Secrets Manager dynamic reference, so the rendered template carries 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.SubnetIds 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.
Provenance
- Content digest
- sha256:6fff733f15b45ef7a83a27a37eaff617f005a4488a6658715dd2199042fd6213
- Published
- 2026-11-10T10:17:54Z
- Signing identity
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officialapplication/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:51cdd734d5c091fe472ad8b79717142f6925624e9efdc6db2426d5da92f8c668
Reference at this version
oci://hub.aggrega.ai/recipe/cloudformation/rabbitmq-amazon-mq:1.0.0- Target
- —
- Implements
- core/messaging/rabbitmq:1.0.0
Provides
Deterministic pointer templates this recipe wires for consumers.
| Name | Template |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}!Select [0, !Split [":", !Select [1, !Split ["//", !Select [0, !GetAtt {{ .locals.logical_id }}.AmqpEndpoints]]]]]{{ end }} |
| port | 5671 |
| protocol | amqps |
| metrics_endpoint | |
| metrics_service | |
| metrics_service_port | |
| metrics_path |
Workload
No workload template declared.
Locals
| Name | Template |
|---|---|
| logical_id | {{ capitalizedWords .context.instance_id }} |
| engine_version | {{ regexFind `^[0-9]+\.[0-9]+` (toString .infra.engine_version) }} |
| instance_type | {{ optional (optional .infra "overrides" dict) "HostInstanceType" "mq.m7g.medium" }} |
| deployment_mode | {{ optional (optional .infra "overrides" dict) "DeploymentMode" "SINGLE_INSTANCE" }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
Values mapping
No values mapping declared.
Relationships
Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.
Uses
- implementsimplementscontract compatible
core/messaging/rabbitmq:1.0.0
All required outputs are satisfied and every provided output is named in the contract.
Used by
Nothing in the catalog depends on this entity.