Hello,

I am using elasticsearch exporter to pull metrics from VPC based AWS 
elastic search into prometheus.
We are restricting AWS access policy to IAM roles(instance profiles).Does 
elastic search exporter work well with IAM roles for authentication.
I tried to troubleshoot by installing aws-cli,but the elasticsearch 
exporter container doesn't allow to install any external packages.
Could you someone help on this?

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::123456789:role/test1_role",
"arn:aws:iam::123456789:role/test2-role"
]
},
"Action": [
"es:ESHttpHead",
"es:ListDomainNames",
"es:DescribeElasticsearchDomain",
"es:ESHttpPost",
"es:ESHttpGet",
"es:ESHttpPatch",
"es:DescribeElasticsearchDomains",
"es:ESHttpDelete",
"es:ESHttpPut"
],
"Resource": "arn:aws🇪🇸us-east-1:123456789:domain/test-es/*"
}
]
}

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/cca6a992-3660-4489-961b-b1b1b4b98a4bn%40googlegroups.com.

Reply via email to