grafana_user (Resource)

This resource represents an instance-scoped resource and uses Grafana's admin APIs. It does not work with API tokens or service accounts which are org-scoped. You must use basic auth.

Example Usage

resource "grafana_user" "staff" {
  email    = "staff.name@example.com"
  name     = "Staff Name"
  login    = "staff"
  password = "my-password"
  is_admin = false
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

terraform import grafana_user.name "{{ id }}"