Elastic Search Policy Update Fails

0

We're getting the following error when trying to save an existing policy. Only a minor change (date) was made in this policy (IDs/IPs removed) that is causing an error. We were originally trying to update the IP set.

Any thoughts? Any insight would be appreciated.

UpdateElasticsearchDomainConfig: {"message":"Error setting policy: [{"Version":"2012-10-18","Statement":[{"Sid":"AllowKubernetes","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::REMOVED:role/REMOVED"},"Action":"es:","Resource":"arn:aws:es:us-east-1:REMOVED:domain/REMOVED/"},{"Sid":"","Effect":"Allow","Principal":{"AWS":""},"Action":"es:","Resource":"arn:aws:es:us-east-1:REMOVED:domain/REMOVED/*","Condition":{"IpAddress":{"aws:SourceIp":[REMOVED]}}}]}]"}

Edited by: bd3 on Jan 25, 2019 3:56 PM

bd3
asked 5 years ago315 views
2 Answers
0

Ended up rebuilding the policy and it worked. So...

bd3
answered 5 years ago
0

What do you mean by rebuilding ? I have the same problem.
Thank's

qmauret
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions