elastic/apm-queue

Create a terraform module to provision GCP PubSub Lite resources

Closed this issue · 1 comments

Description

Since we'll need to run performance tests against an GCP PubSub Lite, we should have a terraform module which allows creating GCP PubSub Lite topics, subscriptions and reservations on demand. We currently have a module which creates GCP topics and subscriptions but not reservations.

Ideally, we'll suffix the resources with a random ID which may be generated from the creation timestamp.

The module should export the topics so we can plug it into a producer / consumer pair.

Related links

We implemented most of what's described in here in #92. The suffixes are generated by Go instead of the "id resource" from HashiCorp.