terraform-provider-grafana icon indicating copy to clipboard operation
terraform-provider-grafana copied to clipboard

add org_id to the resource grafana_user

Open valentin-naina opened this issue 4 years ago • 3 comments

Currently, this version does not allow the resource "grafana_user" to assign the user to an organization. This commit adds this feature.

valentin-naina avatar Dec 08 '21 16:12 valentin-naina

The idea seems good to me. Though:

  1. We should also get this information when we read the user
  2. It should also be tested (adding the attribute to verified attributes in the acceptance tests)

To make it clear, it is ok to have the Org ID here because users is an admin resource. Explained here: https://github.com/grafana/terraform-provider-grafana/issues/59#issuecomment-996935572

julienduchesne avatar Dec 17 '21 13:12 julienduchesne

Also please note that the documentation is out of date, please run go generate to update the docs.

inkel avatar Jan 24 '22 14:01 inkel

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Valentin Naina seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jun 15 '22 17:06 CLAassistant

I'll close this because it's been inactive for so long. Managing an org's users is already possible using the grafana_organization resource: https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/organization

julienduchesne avatar Dec 08 '22 13:12 julienduchesne