<@UCWG26BH7> trying to use <https://github.com/lbr...
# pulumiverse
p
@billowy-army-68599 trying to use https://github.com/lbrlabs/pulumi-grafana/tree/main for my cloud grafana.net but i can't seem to make sense of the authentication. In the config i have:
Copy code
config:
  grafana:auth:
    secure: <api key from grafana with Admin permissions>
  grafana:url: https://<my stack url>.<http://grafana.net|grafana.net>
I want to create a alerting rule so i start with just creating a folder like in the docs
Copy code
const ruleFolder = new Folder(sanitizedClient, {
    title: client,
  });
Copy code
Type                     Name                            Status                  Info
     pulumi:pulumi:Stack      xxx                             **failed**              1 error
 +   └─ grafana:index:Folder  yyy                             **creating failed**     1 error


Diagnostics:
  pulumi:pulumi:Stack (xxx):
    error: update failed

  grafana:index:Folder (yyy):
    error: 1 error occurred:
    	* status: 401, body: {"message":"Unauthorized","traceID":"b8784cb15a10a2d5d8f82ff44c8f37bd"}

Resources:
    1 unchanged

Duration: 3s
Any hints on which keys/urls to use?
Figured it out 🤦 I need the token of a service account inside of my stack, not an api key at the grafana.net level