library
turbot/gcp
Get Involved
Version
Pipeline: Update Logging Bucket
This pipeline updates the retention period of a Logging Bucket.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.update_logging_bucket \ --arg 'project_id=<string>' \ --arg 'bucket_id=<string>' \ --arg 'location=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.update_logging_bucket args = { project_id = <string> bucket_id = <string> location = <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_id | string | Yes | The ID of the Logging Bucket. | - |
location | string | Yes | The location of the Logging Bucket. | - |
retention_days | string | No | Retention period for the logging bucket in days. Optional. | - |
Outputs
Name | Description |
---|---|
result | Result of the logging bucket update command. |