Note: This resource is available only with Grafana 9.1+.
resource "grafana_service_account" "admin" {
name = "admin sa"
role = "Admin"
is_disabled = false
}
name
(String) The name of the service account.role
(String) The basic role of the service account in the organization.is_disabled
(Boolean) The disabled status for the service account. Defaults to false
.org_id
(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.id
(String) The ID of this resource.Import is supported using the following syntax:
terraform import grafana_service_account.name "{{ id }}"
terraform import grafana_service_account.name "{{ orgID }}:{{ id }}"