terraform-google-modules / terraform-google-slo

Creates SLOs on Google Cloud from custom Stackdriver metrics capability to export SLOs to Google Cloud services and other systems
https://registry.terraform.io/modules/terraform-google-modules/slo/google
Apache License 2.0
63 stars 28 forks source link

Can we have a json template feature just like we have for yaml template. #103

Closed Ss081994 closed 2 years ago

Ss081994 commented 2 years ago

TL;DR

The json template is readily available to download from the console. The json template is natively supported and can be a feature in this module.

Terraform Resources

No response

Detailed design

A sample json for cloud function execution:

{ "displayName": "90% - Distribution Cut - Rolling 7 days", "goal": 0.9, "rollingPeriod": "604800s", "serviceLevelIndicator": { "requestBased": { "distributionCut": { "distributionFilter": "metric.type=\"cloudfunctions.googleapis.com/function/execution_times\" resource.type=\"cloud_function\"", "range": { "min": null, "max": 10 } } } } }

Additional information

No response

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days