Skip to main content

diagrid pubsub create

Create a Diagrid Pub/Sub Broker

Description

Create a Diagrid Pub/Sub Broker to send and receive messages without managing infrastructure

diagrid pubsub create <pubsub> [flags]

Examples


# Create Diagrid Pub/Sub Broker in a project
diagrid pubsub create pubsub --project my-project

Options

  -p, --project string   Name of existing project
--scopes strings Component scopes, list of App IDs which will have access to the component created to this Pubsub. Leave empty for giving access to all App IDs.
-w, --wait Wait for long-running resource creation to finish
-h, --help help for create

Options inherited from parent commands

      --api-key string   Diagrid Cloud API key

SEE ALSO