Closed jvasallo closed 2 years ago
Thanks for the report, @jvasallo! Sounds like we need to explicitly depend on the custom service account (which we are are already creating, so might as well use it here, too).
Hi. I cannot see the mock data in Grafana some time after running the script. Is it caused by this issue?
Since the Grafana dashboard does not run from a GCE instance it doesn't actually use the default GCE service account. Instead is uses the service account fourkeys@[PROJECT_ID].iam.gserviceaccount.com
that is created during setup and included on the dashboard Cloud Run service configuration.
Try the following:
fourkeys
service account has the Big Query User role assigned on the project that includes your BigQuery data.
Running through the default setup, the original Grafana Datasource is hardcoded to use GCE Service Account (which is not created by default).
I ended up needing to create my own JSON Key and manually create a secondary BigQuery Source using that key. Not sure if this is expected :)