library
turbot/gcp
Get Involved
Version
Pipeline: Create Pub/Sub Topics
This pipeline creates one or more Cloud Pub/Sub topics.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.create_pubsub_topics \ --arg 'project_id=<string>' \ --arg 'topic_names=<list(string)>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.create_pubsub_topics args = { project_id = <string> topic_names = <list(string)> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.gcp | Yes | Name of GCP connection to use. If not provided, the default GCP connection will be used. | connection.gcp.default |
project_id | string | Yes | The GCP project ID. | - |
labels | map(string) | No | The GCP labels. | - |
topic_names | list(string) | Yes | The names of the topics to create. | - |
Outputs
This pipeline has no outputs.