library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
policystringYesThe monitoring policy in JSON format.-

Outputs

NameDescription
monitoring_policy_infoInformation about the created monitoring policy.