library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
conn
connection.gcp
YesName of GCP connection to use. If not provided, the default GCP connection will be used.connection.gcp.default
project_id
string
YesThe GCP project ID.-
bucket_name
string
YesThe name of the storage bucket to update.-
retention_period
string
NoThe retention period for the storage bucket in seconds. Optional.-
clear_retention_period
bool
NoIf true, clears the retention period for the storage bucket. Optional.-
lifecycle_policy
string
NoThe lifecycle policy for the storage bucket. Optional.-

Outputs

This pipeline has no outputs.