Grafana

v0.0.6 published on Monday, Nov 28, 2022 by lbrlabs

Installation

The Pulumi Grafana provider is available as a package in all Pulumi languages:

Provider Binary

The Grafana provider binary is a third party binary. It can be installed using the pulumi plugin command.

pulumi plugin install resource grafana <version>

Replace the version string with your desired version.

Setup

To provision resources with the Pulumi Grafana provider, you need to have Grafana credentials.

Set environment variables

Once you have provisioned these credentials, you can set environment variables to provision resources in Grafana:

$ export GRAFANA_URL=<GRAFANA_URL>
$ export GRAFANA_AUTH=<GRAFANA_AUTH>
$ export GRAFANA_URL=<GRAFANA_URL>
$ export GRAFANA_AUTH=<GRAFANA_AUTH>
> $env:GRAFANA_URL = "<GRAFANA_URL>"
> $env:GRAFANA_AUTH = "<GRAFANA_AUTH>"

Configuration Options

Use pulumi config set grafana:<option> or pass options to the constructor of new grafana.Provider.