library
turbot/gcp
Get Involved
Version
Pipeline: Create Logging Sink
This pipeline creates a logging sink in Google Cloud.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.create_logging_sink \ --arg 'project_id=<string>' \ --arg 'sink_name=<string>' \ --arg 'destination=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.create_logging_sink args = { project_id = <string> sink_name = <string> destination = <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. | - |
sink_name | string | Yes | The name of the logging sink. | - |
destination | string | Yes | The destination for the logging sink (e.g., storage.googleapis.com/DESTINATION_BUCKET_NAME). | - |
include_children | bool | No | Include children in the logging sink. | - |
folder_id | string | No | The folder ID for the logging sink. | - |
organization_id | string | No | The organization ID for the logging sink. | - |
Outputs
Name | Description |
---|---|
logging_sink_info | Information about the created logging sink. |