Skip to content

rso_queue (Resource)

A durable message queue in the tenant's own virtual host.

Publish and receive over HTTP with a console token, or over AMQP from inside the cluster with an rso_queue_credential. Feed it from a topic with rso_topic_subscription, push its messages to a URL with rso_queue_webhook.

~> Destroying a queue discards the messages in it.

Example Usage

resource "rso_queue" "orders" {
  name = "orders"
}

Schema

Required

  • name (String) Name, unique within the tenant: lowercase letters, digits and single dashes, up to 50 characters. Names starting with rso- are reserved for the platform.

Read-Only

  • id (String) Same as name.
  • status (String) READY once the platform has created it.

Import

Import is supported using the following syntax:

# Import a queue by its name.
terraform import rso_queue.orders orders