library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Add Labels to Pub/Sub Topic

This pipeline adds labels to a Google Cloud Pub/Sub topic.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.add_labels_to_pubsub_topic \
--arg 'project_id=<string>' \
--arg 'topic_name=<string>' \
--arg 'labels=<map(string)>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp.pipeline.add_labels_to_pubsub_topic
args = {
project_id = <string>
topic_name = <string>
labels = <map(string)>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
topic_namestringYesThe name of the Pub/Sub topic.-
labelsmap(string)YesThe GCP labels to add.-

Outputs

NameDescription
topicInformation about the Pub/Sub topic.