You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -60,29 +60,25 @@ If you don't specify anything a new workspace will be created for you.
60
60
61
61
6. Amazon Managed Grafana workspace
62
62
63
-
If you have an existing workspace, add `managed_grafana_workspace_id=g-xxx`
64
-
or use an environment variable `export TF_VAR_managed_grafana_workspace_id=g-xxx`.
63
+
If you have an existing workspace, create an environment variable `export TF_VAR_managed_grafana_workspace_id=g-xxx`.
65
64
66
-
7. Grafana API Key
65
+
7.<aname="apikey"></a> Grafana API Key
67
66
68
-
- Give admin access to the SSO user you set up when creating the Amazon Managed Grafana Workspace:
69
-
- In the AWS Console, navigate to Amazon Grafana. In the left navigation bar, click **All workspaces**, then click on the workspace name you are using for this example.
70
-
- Under **Authentication** within **AWS Single Sign-On (SSO)**, click **Configure users and user groups**
71
-
- Check the box next to the SSO user you created and click **Make admin**
72
-
- From the workspace in the AWS console, click on the `Grafana workspace URL` to open the workspace
73
-
- If you don't see the gear icon in the left navigation bar, log out and log back in.
74
-
- Click on the gear icon, then click on the **API keys** tab.
75
-
- Click **Add API key**, fill in the _Key name_ field and select _Admin_ as the Role.
76
-
- Copy your API key into `terraform.tfvars` under the `grafana_api_key` variable (`grafana_api_key="xxx"`) or set as an environment variable on your CLI (`export TF_VAR_grafana_api_key="xxx"`)
67
+
Amazon Managed Service for Grafana provides a control plane API for generating Grafana API keys. We will provide to Terraform
68
+
a short lived API key to run the `apply` or `destroy` command.
69
+
Ensure you have necessary IAM permissions (`CreateWorkspaceApiKey, DeleteWorkspaceApiKey`)
0 commit comments