library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Update Compute Backend Service

This pipeline updates a Google Compute Engine backend service to enable logging with a specified logging sample rate.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.update_compute_backend_service \
--arg 'project_id=<string>' \
--arg 'region=<string>' \
--arg 'service_name=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = gcp.pipeline.update_compute_backend_service
args = {
project_id = <string>
region = <string>
service_name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
regionstringYesThe GCP region.-
service_namestringYesThe name of the backend service.-
enable_loggingboolYesWhether to enable logging for the backend service.
logging_sample_ratestringNoThe logging sample rate as a decimal.-

Outputs

NameDescription
backend_service