When I’m trying to configure a datasource on hosted grafana I’m not able to set aws credentials like I used to do in the self-hosted one. There I just set the environment variables to override aws credentials and then I assume the role. But on hosted grafana I don’t have access to the environment variables. Any idea how I can assume a role?
Besides that I also tried without assume role with a different account but that also did not work. (tried “aws cloudwatch list-metrics” with those credentials and it worked) Any ideas?
You cannot use a credentials file on Hosted Grafana as you say. You should be able to do it with an Access and Secret instead. Sounds like you might not have configured it correctly?
Here is our Cloudwatch policy. Are you missing any of these actions (especially the 3 cloudwatch actions)?