library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Remove Labels from Pub/Sub Subscription

This pipeline removes specified labels from a Google Cloud Pub/Sub subscription.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.remove_specific_label_from_pubsub_subscription \
--arg 'project_id=<string>' \
--arg 'subscription_name=<string>' \
--arg 'label_keys=<list(string)>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp.pipeline.remove_specific_label_from_pubsub_subscription
args = {
project_id = <string>
subscription_name = <string>
label_keys = <list(string)>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
subscription_namestringYesThe name of the Pub/Sub subscription.-
label_keyslist(string)YesThe GCP label keys to remove.-

Outputs

NameDescription
subscriptionInformation about the Pub/Sub subscription.