library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Create Pub/Sub Subscriptions

This pipeline creates one or more Cloud Pub/Sub subscriptions for a given topic. The new subscription defaults to a PULL subscription unless a push endpoint is specified.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.create_pubsub_subscriptions \
--arg 'project_id=<string>' \
--arg 'subscription_names=<list(string)>' \
--arg 'topic_name=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = gcp.pipeline.create_pubsub_subscriptions
args = {
project_id = <string>
subscription_names = <list(string)>
topic_name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.gcp
YesName of GCP connection to use. If not provided, the default GCP connection will be used.connection.gcp.default
project_id
string
YesThe GCP project ID.-
subscription_names
list(string)
YesThe names of the subscriptions to create.-
topic_name
string
YesThe name of the topic to subscribe to.-

Outputs

NameDescription
subscriptionsInformation about the created subscriptions.