library
turbot/gcp
Get Involved
Version
Pipeline: Update Storage Bucket
This pipeline updates the configuration of a storage bucket, including retention period.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.update_storage_bucket \ --arg 'project_id=<string>' \ --arg 'bucket_name=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.update_storage_bucket args = { project_id = <string> bucket_name = <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_name | string | Yes | The name of the storage bucket to update. | - |
retention_period | string | No | The retention period for the storage bucket in seconds. Optional. | - |
clear_retention_period | bool | No | If true, clears the retention period for the storage bucket. Optional. | - |
lifecycle_policy | string | No | The lifecycle policy for the storage bucket. Optional. | - |
Outputs
This pipeline has no outputs.