grafana_cloud_stack_service_account (Resource)

Manages service accounts of a Grafana Cloud stack using the Cloud API This can be used to bootstrap a management service account for a new stack

Required access policy scopes:

Example Usage

resource "grafana_cloud_stack_service_account" "cloud_sa" {
  stack_slug = "<your stack slug>"

  name        = "cloud service account"
  role        = "Admin"
  is_disabled = false
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

terraform import grafana_cloud_stack_service_account.name "{{ stackSlug }}:{{ serviceAccountID }}"