Hedwig is a inter-service communication bus that works on Google Pub/Sub, while keeping things pretty simple and straight forward. It uses json schema draft v4 for schema validation so all incoming and outgoing messages are validated against pre-defined schema.
This module provides a custom Terraform modules for deploying Hedwig infrastructure that creates infra for Hedwig consumer app.
module "consumer-dev-myapp" {
source = "cloudchacho/hedwig-queue/google"
queue = "dev-myapp"
alerting = true
labels = {
app = "myapp"
env = "dev"
}
}
If using a single Google project for multiple environments (e.g. dev/staging/prod), ensure that queue
includes
your environment name.
Naming convention - lowercase alphanumeric and dashes only.
Please note Google's restrictions (if not followed, errors may be confusing and often totally wrong):
The Google queue and subscription names will be prefixed by hedwig-
.
Go to Terraform Registry, and Resync module.