Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/devopshobbies/terraform-helm-grafana

Automate Grafana with Helm and terraform
https://github.com/devopshobbies/terraform-helm-grafana

grafana grafana-dashboard grafana-plugin helm helm-charts terraform

Last synced: about 2 months ago
JSON representation

Automate Grafana with Helm and terraform

Awesome Lists containing this project

README

        

# Terraform helm grafana configuration



grafana logo

I test it with :
Terraform v1.5.4
provider helm v3.12.2
provider hashicorp/kubernetes v2.11.0

- Change adminPassword in values.yaml
- for auto load prometheus:
```
prometheus svc name: prometheus-k8s
prometheus namespace: monitoring
```
or change address datasources.datasources.url in values.yaml

- Run Terraform commands
```
terraform init
terraform plan
terraform apply
```

if you want to recreate a machine without destroy and recreate whole the infrastracture, you can go for the taint command

`terraform taint [options]

`

and new Recommand for Terraform v0.15.2 and later is -replace flag

`terraform apply -replace="aws_instance.example[0]"`