library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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 of 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 of string>
topic_name = <string>
}
}

Params

NameTypeRequiredDefaultDescription
credstringYesdefaultThe GCP application credentials file path.
project_idstringYes-The GCP project ID.
subscription_nameslist of stringYes-The names of the subscriptions to create.
topic_namestringYes-The name of the topic to subscribe to.

Outputs

NameDescription
subscriptionsInformation about the created subscriptions.