You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Save dashboard sha256sum instead of full config json in tfstate (#222)
* Save dashboard sha256sum instead of full config json in tfstate
* go lint
* go generate
* set store_dashboard_sha256 on provider config
* update doc grafana_dashboard
* go generate
* set global var instead of env var
* add acceptance test
* add acc test for sha256 dashboard
* Reuse the basic test to check that sha256 works
* Lint
* fix: apply inkel requested changes
* fix: really apply inkel requested changes
Co-authored-by: Julien Duchesne <[email protected]>
Copy file name to clipboardExpand all lines: docs/index.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ provider "grafana" {
33
33
-**retries** (Number) The amount of retries to use for Grafana API calls. May alternatively be set via the `GRAFANA_RETRIES` environment variable.
34
34
-**sm_access_token** (String, Sensitive) A Synthetic Monitoring access token. May alternatively be set via the `GRAFANA_SM_ACCESS_TOKEN` environment variable.
35
35
-**sm_url** (String) Synthetic monitoring backend address. May alternatively be set via the `GRAFANA_SM_URL` environment variable.
36
+
-**store_dashboard_sha256** (Boolean) Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate.
36
37
-**tls_cert** (String) Client TLS certificate file to use to authenticate to the Grafana server. May alternatively be set via the `GRAFANA_TLS_CERT` environment variable.
37
38
-**tls_key** (String) Client TLS key file to use to authenticate to the Grafana server. May alternatively be set via the `GRAFANA_TLS_KEY` environment variable.
38
39
-**url** (String) The root URL of a Grafana server. May alternatively be set via the `GRAFANA_URL` environment variable.
0 commit comments