Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Versionated Dashboard Datasource #1887

Open
Folling opened this issue Nov 5, 2024 · 0 comments
Open

[Feature Request]: Versionated Dashboard Datasource #1887

Folling opened this issue Nov 5, 2024 · 0 comments

Comments

@Folling
Copy link

Folling commented Nov 5, 2024

Feature Request

I would like to be able to query a specific version in the grafana_dashboard datasource.

Here's where I'm coming from:
We have two Grafana instances, one "live" and one "wip". Users are free to work on "wip" as they please. As soon as they think they've reached a presentable state, they make note of their version and submit a pull request to our Terraform configuration which has a dashboard module. This module takes in a version parameter which the user sets to their new stable version. Using this parameter, we would query the WIP's config and submit it to the "live" counterpart.

However, doing this would require the following:

data "grafana_dashboard" "wip_version" {
    uid = "myid"
    version = 12 # this field would need to be added
}
@Folling Folling changed the title [Feature Request]: Versionanted Dashboard Datasource [Feature Request]: Versionated Dashboard Datasource Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants