diff --git a/grafana/README.md b/grafana/README.md index 3a7fb24..b129b6a 100644 --- a/grafana/README.md +++ b/grafana/README.md @@ -67,6 +67,17 @@ module "alerting" { ``` With this configuration you need to place your notification templates into `templates` folder and alert definitions in YAML format to `alerts` folder in same directoty where `main.tf`is located. You can example for both in [examples](./examples/) folder. +For this example you need export your secret variables e.g. with lookup in Secret Manager. + +```sh +export TF_VAR_grafana_url="" +export TF_VAR_grafana_username="admin" +export TF_VAR_grafana_password="xxxxxxx" +export TF_VAR_google_chat_url="https://chat.googleapis.com/v1/spaces/xxxxx" +export TF_VAR_datasource_url="https://xxxxx.stackit.cloud/instances/xxxxxx" +export TF_VAR_datasource_username="stackit9_xxxxx" +export TF_VAR_datasource_password="xxxxxx" +``` ## Dashboard TODO