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

Sourcing grafana dashboard variables #36

Open
mmhh1910 opened this issue Aug 26, 2023 · 0 comments
Open

Sourcing grafana dashboard variables #36

mmhh1910 opened this issue Aug 26, 2023 · 0 comments

Comments

@mmhh1910
Copy link

I can't seem to figure out how to source the "compartment_id" and "region_deployment" variables of the "oci-compute" and "oci-oke" grafana dashboards with my values from within terraform.

When applying the grafana.tf the values for these values are shown as "${VAR_COMPARTMENT_ID}" and "${VAR_REGION_DEPLOYMENT}" in the grafana GUI for the dashboards - which looks like some kind of planned variable expansion didn't take place.

I've tried to add these env variables for the grafan pods, but the values still show up as ""${VAR_COMPARTMENT_ID}" and "${VAR_REGION_DEPLOYMENT}":

VAR_REGION_DEPLOYMENT: "eu-frankfurt-1"
VAR_COMPARTMENT_ID: "/k8s"
GF_VAR_REGION_DEPLOYMENT: "eu-frankfurt-1"
GF_VAR_COMPARTMENT_ID: "/k8s"

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

1 participant