grafana_cloud_api_key (Resource)

This resource is deprecated and will be removed in a future release. Please use grafana_cloud_access_policy instead.

Manages a single API key on the Grafana Cloud portal (on the organization level)

Required access policy scopes:

Example Usage

resource "grafana_cloud_api_key" "test" {
  cloud_org_slug = "myorg"
  name           = "my-key"
  role           = "Admin"
}

Schema

Required

Read-Only

Import

Import is supported using the following syntax:

terraform import grafana_cloud_api_key.name "{{ orgSlug }}:{{ apiKeyName }}"