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 29 forks source link

fix: TF variable validation for backend so we can use other backends #43

Closed ocervell closed 4 years ago

ocervell commented 4 years ago

Currently, the project_id field was mandatory in the backend section, but this does not make sense for any other type of backend than Cloud Monitoring or Cloud Service Monitoring. We thus need an optional project_id argument in the backend object variable.

Since the Terraform feature to have optional variable attributes is not implemented yet, this removes the variable validation until further notice.

Fixes #42