Adding Monitoring Scopes in Google Cloud

I’m trying to provision the metric scope of a Google Cloud project through Terraform. I think that I this API has to be called somehow. Is there existing functionality to do this?

1 Like

@amitcodex Were you able to figure out how to accomplish it?

We just published a new terraform module for the purpose of creating a metric scope relationship:
https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/monitoring_monitored_project

Currently in beta, but you specify the project that IS the metric scope project, and then provide the projects you want added to it.

1 Like