library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

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.-
sink_name
string
YesThe name of the logging sink.-
destination
string
YesThe destination for the logging sink (e.g., storage.googleapis.com/DESTINATION_BUCKET_NAME).-
include_children
bool
NoInclude children in the logging sink.-
folder_id
string
NoThe folder ID for the logging sink.-
organization_id
string
NoThe organization ID for the logging sink.-

Outputs

NameDescription
logging_sink_infoInformation about the created logging sink.