-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ElasticsearchHttpPostPolicy set but still receiving "not authorized to perform: es:ESHttpPost" #429
Comments
I understand that this error message is usually associated with not signing the request, but intuitively But even after trying to sign the request, I get:
|
Hmmm. After further investigation, this is the ARN generated by the managed policy:
But this is the ARN used elsewhere:
After swaping out the managed SAM policy for a standard IAM policy with that ARN, it started working. |
I had the same issue: #858 |
Description:
I have a Lambda Function that I want to use to query an Amazon Elasticsearch Domain, but even after setting
ElasticsearchHttpPostPolicy
, usingsearch
will yield"{\"Message\":\"User: anonymous is not authorized to perform: es:ESHttpPost\"}" }
The text was updated successfully, but these errors were encountered: