pulumiverse / pulumi-grafana

Pulumi provider for Grafana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to fetch all teams

CmdrSharp opened this issue · comments

The provider (and this goes for Terraform as well) currently lacks a way to fetch all teams. It requires specifying a single team to fetch. I would like to see the ability to fetch all teams (with a getTeams function, much like getUsers). The endpoint api/teams/search can be used (with pagination) to accomplish this.

@CmdrSharp since this package bridges the Terraform provider, please submit your request in the TF repo:

https://github.com/grafana/terraform-provider-grafana/issues

Once it is implemented upstream, we can take in the new version of the Grafana TF provider.

Makes sense!
Opened up an issue here: grafana/terraform-provider-grafana#1449

Closing this one.