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.
Provenance
- Content digest
- sha256:c4658ac6aeecef7c0fbf4bbc847fc53302bd1f21635562d89a4651e072e781eb
- Published
- 2026-11-10T10:28:44Z
- 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:3c4a491820281a00652baf215e9b86d0fa2524d422076cf7ad3d95006c02a7a0
Reference at this version
oci://hub.aggrega.ai/recipe/terraform/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 }}${module.{{ .context.instance_id }}.amqp_host}{{ end }} |
| port | 5671 |
| protocol | amqps |
| metrics_endpoint | |
| metrics_service | |
| metrics_service_port | |
| metrics_path |
Workload
No workload template declared.
Locals
| Name | Template |
|---|---|
| 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 }} |
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.