grafana-wizzy / wizzy

Manage & automate Grafana with easy wizzy
https://grafana-wizzy.com
Apache License 2.0
470 stars 61 forks source link

Dashboard undefined cannot be stored in location s3 #141

Open Jasstkn opened 5 years ago

Jasstkn commented 5 years ago

Hi! I'm trying to upload dashboards into S3 bucket. There is my config file:

{
  "config": {
    "grafana": {
      "url": "https://grafana.dev.engage.ringcentral.com",
      "username": "admin",
      "password": "****"
    },
    "s3": {
      "bucket_name": "grafana-dashboards.engage.ringcentral.com",
      "access_key": "****",
      "secret_key": "****",
      "region": "us-east-1"
    }
  }
}

But I've got an error:

✔ Dashboards are being uploaded. Command will exit once all dashboards are uploaded.
✘ undefined
✘ Dashboard undefined cannot be stored in location s3://grafana-dashboards.engage.ringcentral.com/dashboards/aws-elasticache-redis.json.
✘ undefined
✘ Dashboard undefined cannot be stored in location s3://grafana-dashboards.engage.ringcentral.com/dashboards/aws-elb-application-load-balancer.json.
✘ undefined
✘ Dashboard undefined cannot be stored in location s3://grafana-dashboards.engage.ringcentral.com/dashboards/coredns.json.
✘ undefined
✘ Dashboard undefined cannot be stored in location s3://grafana-dashboards.engage.ringcentral.com/dashboards/engage-es-tv.json.

Also I have a file with config in ~/.aws/config Could you take a look into it and specify what exactly I should configure for uploading to S3?

Jasstkn commented 5 years ago

I have several issues: