https://github.com/pcasteran/grafana-cloud-run
Terraform module allowing to deploy a serverless Grafana instance on Cloud Run.
https://github.com/pcasteran/grafana-cloud-run
cloud-run grafana monitoring terraform
Last synced: about 2 months ago
JSON representation
Terraform module allowing to deploy a serverless Grafana instance on Cloud Run.
- Host: GitHub
- URL: https://github.com/pcasteran/grafana-cloud-run
- Owner: pcasteran
- License: apache-2.0
- Created: 2020-12-23T13:53:21.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-23T18:46:23.000Z (over 5 years ago)
- Last Synced: 2025-12-28T17:18:27.629Z (6 months ago)
- Topics: cloud-run, grafana, monitoring, terraform
- Language: HCL
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grafana-cloud-run
Terraform module allowing to deploy a serverless Grafana instance on Cloud Run.
Inspired by https://github.com/SimoneStefani/grafana-cloudrun.
## TODO
Check reuse network and VPC Access connector.
Use Secret Manager to store the passwords.
Build a custom Docker image for Grafana:
- use the latest version of Grafana
- install the plugins
- retrieve the secrets from Secret Manager
Add info regarding the pricing of Serverless VPC Access : https://cloud.google.com/vpc/docs/configure-serverless-vpc-access#pricing
Module configuration:
1) Specify min provider version (see GCP modules)
2) List of required APIs to be activated (automate it or just list them ? See GCP modules)
See https://github.com/SimoneStefani/grafana-cloudrun/blob/747bc9962c4682463c4fc22138266c86c1afc693/variables.tf#L17
gcloud services enable vpcaccess.googleapis.com
Use Google SSO for Grafana : https://geko.cloud/run-grafana-in-docker-with-google-sso/
Add a graph in the doc for the various components (db, cloud run, ...). Use https://diagrams.mingrammer.com/docs/getting-started/examples