Cloudwatch grafana integration

HI,

I’ve configured cloudwatch datasource. But I get an API error while executing the below query from template.

Error: Initialized: Unable to call AWS API
ec2_instance_attribute(us-east-1, InstanceId, { “tag:Name”: [ “test” ] })

I can succesfully see result for the below query, but it doesnt work for the above one.
dimension_values(us-east-1,AWS/ElastiCache,CPUUtilization,CacheClusterId)

Regards,
Dev

This is a permissions problem. You have to give read access to ec2:DescribeInstances in the policy for your user.

yea that worked!

Thanks

1 Like