Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Dashboard undefined cannot be stored in location s3 #141

Open
Jasstkn opened this issue May 30, 2019 · 1 comment
Open

Dashboard undefined cannot be stored in location s3 #141

Jasstkn opened this issue May 30, 2019 · 1 comment
Labels
Milestone

Comments

@Jasstkn
Copy link

Jasstkn commented May 30, 2019

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
Copy link
Author

Jasstkn commented May 30, 2019

I have several issues:

  • can't use this tool under the regular user with sudo
  • can't setup custom path to aws/credentials and set up default role.
    I had to export AWS_PROFILE= env variable and copy my credentials to the file . Is there way to avoid such manual actions?

@Sytten Sytten added the bug label Aug 9, 2019
@Sytten Sytten added this to the 0.8.0 milestone Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants