Resource: aws_grafana_workspace_api_key

Provides an Amazon Managed Grafana workspace API Key resource.

Example Usage

Basic configuration

resource "aws_grafana_workspace_api_key" "key" {
  key_name        = "test-key"
  key_role        = "VIEWER"
  seconds_to_live = 3600
  workspace_id    = aws_grafana_workspace.test.id
}

Argument Reference

The following arguments are required:

Attribute Reference

This resource exports the following attributes in addition to the arguments above: