library
turbot/gcp
Get Involved
Version
Pipeline: Create Monitoring Policy
This pipeline creates a monitoring policy in Google Cloud.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.create_monitoring_policy \ --arg 'project_id=<string>' \ --arg 'policy=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.create_monitoring_policy args = { project_id = <string> policy = <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. | - |
policy | string | Yes | The monitoring policy in JSON format. | - |
Outputs
Name | Description |
---|---|
monitoring_policy_info | Information about the created monitoring policy. |