library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
sink_namestringYesThe name of the logging sink.-
destinationstringYesThe destination for the logging sink (e.g., storage.googleapis.com/DESTINATION_BUCKET_NAME).-
include_childrenboolNoInclude children in the logging sink.-
folder_idstringNoThe folder ID for the logging sink.-
organization_idstringNoThe organization ID for the logging sink.-

Outputs

NameDescription
logging_sink_infoInformation about the created logging sink.