library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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
credstringYesThe credential to use for authentication.default
project_idstringYesThe GCP project ID.-
bucket_namestringYesThe name of the storage bucket to update.-
retention_periodstringNoThe retention period for the storage bucket in seconds. Optional.-
clear_retention_periodboolNoIf true, clears the retention period for the storage bucket. Optional.-
lifecycle_policystringNoThe lifecycle policy for the storage bucket. Optional.-

Outputs

This pipeline has no outputs.