Skip to content

rso_topic (Resource)

A topic: a message published to it is copied to every subscription whose filter matches the message's routing key. Subscribe queues with rso_topic_subscription and URLs with rso_queue_webhook.

Example Usage

resource "rso_topic" "events" {
  name = "events"
}

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 topic by its name.
terraform import rso_topic.events events