library
turbot/gcp
Get Involved
Version
Pipeline: 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
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. | - |
region | string | Yes | The GCP region. | - |
service_name | string | Yes | The name of the backend service. | - |
enable_logging | bool | Yes | Whether to enable logging for the backend service. | true |
logging_sample_rate | string | No | The logging sample rate as a decimal. | - |
Outputs
Name | Description |
---|---|
backend_service |