library
turbot/gcp
Get Involved
Version
Pipeline: Delete All Objects and Storage Bucket
This pipeline deletes all objects and the bucket from Google Cloud Storage.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.delete_all_objects_and_storage_bucket \ --arg 'project_id=<string>' \ --arg 'bucket_url=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.delete_all_objects_and_storage_bucket args = { project_id = <string> bucket_url = <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. | - |
bucket_url | string | Yes | The URL of the bucket to delete (e.g., gs://my-bucket/). | - |
Outputs
Name | Description |
---|---|
storage_deletion_info | Information about the deleted storage bucket and its objects. |