Organization provisioning

How can I automatically release the list of organisations configured on grafana? How does the provisioning of organisations work?

Hello :wave: and welcome to the forum, @ricrug

here are two useful resources. I would check them out and then ask the community for more specific help :+1:

Hi Matt, I also need to provision an org, but neither the Organization HTTP API or Provisioning docs mentioned how to do this. Like the previous user’s comment, I can’t use the API to do this and need to provision the org via a config map during cluster creation. Thanks!

welcome to the :grafana: forum, @andrewrisse

hmmm, I know you are using a configmap, and I can look into whether that is possible or not.

Have you tried using the Grafana Terraform provider? I think it can provision orgs…

https://registry.terraform.io/providers/grafana/grafana/latest/docs

Hi, has there been any updates with this? I am also looking to provision Organizations through configmap

I’m currently working with Terraform to create organizations with the relevant team. I tried to achieve it with a module. Creating the orgs is not such an issue. However, it is difficult to form teams within the newly created OrgS. As there is another way of indicating which organization a team belongs to, this must be specified in the provider definition. When creating the Org via module, however, you must write the OrgID back into the root module and the provider definition. I haven’t yet figured out how to do that.