Hi Team,
I am trying to pull the AWS RDS metrics from metricbeat using AWS module and i have got the arn_role to pull the metrics. But when i run metricbeat i am getting below error. Could you please help me to solve this issue.
My aws config file:
- module: aws
period: 1m
role_arn: arn:aws:iam::number:role/test-role
regions: eu-central-1
metricsets:
- rds
instance/beat.go:1015 Exiting: 1 error: error creating aws metricset: failed to retrieve aws credentials, please check AWS credential in config: EC2RoleRequestError: no EC2 instance role found
Exiting: 1 error: error creating aws metricset: failed to retrieve aws credentials, please check AWS credential in config: EC2RoleRequestError: no EC2 instance role found