I’ve omitted this error by deleting the field aws_role_arn. In my case, the rds exporter is running in the EKS cluster under the service account that already has assumed the role. So after I deleted the key aws_role_arn, the AWS framework was able to assume the role from the container environment variables.