wizzy
wizzy copied to clipboard
Dashboard undefined cannot be stored in location s3
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?
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?