1. Packages
  2. Grafana Cloud
  3. Installation & Configuration
Grafana v0.1.0 published on Monday, Sep 11, 2023 by lbrlabs

Grafana Cloud: Installation & Configuration

grafana logo
Grafana v0.1.0 published on Monday, Sep 11, 2023 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.

    grafana logo
    Grafana v0.1.0 published on Monday, Sep 11, 2023 by lbrlabs