Skip to content

cloudchacho/terraform-google-hedwig-queue

Repository files navigation

Hedwig Queue Consumer App Terraform module

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.

Usage

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-.

Release Notes

Github Releases

How to publish

Go to Terraform Registry, and Resync module.

About

Messaging bus for micro-services that works on cloud native queues http://authedwig.rtfd.io

Resources

License

Stars

Watchers

Forks

Packages

No packages published