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:
resource "grafana_cloud_stack_service_account" "cloud_sa" {
stack_slug = "<your stack slug>"
name = "cloud service account"
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.stack_slug
(String)is_disabled
(Boolean) The disabled status for the service account. Defaults to false
.id
(String) The ID of this resource.Import is supported using the following syntax:
terraform import grafana_cloud_stack_service_account.name "{{ stackSlug }}:{{ serviceAccountID }}"