Skip to content

gdashboard/gdashboard-cli

Repository files navigation

gdashboard-cli

Generate Terraform files from Grafana JSON dashboard for gdashboard provider.

Usage

Usage: gdashboard-cli generate [--input <string>] [--dashboard-id <string>] [--group-by-sections] <The path to an output directory>

Generate Terraform files from a Grafana dashboard

Options and flags:
    --help
        Display this help text.
    --input <string>
        A path to the file with the JSON of a Grafana dashboard
    --dashboard-id <string>
        An ID of the Grafana dashboard (https://grafana.com/grafana/dashboards)
    --group-by-sections
        Whether to group files by dashboard sections or not

Publish locally

$ sbt generateNativeBinary
$ gdashboard-cli generate --input ./input.json ./output
$ gdashboard-cli generate --dashboard-id 123 ./output

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published