aws-lambda
aws-lambda copied to clipboard
Can't connect to elastic cloud
With the proper hostname and encpass defined the Lambda still fails to connect to elastic cloud with the following error:
Response: {"error":{"root_cause":[{"type":"security_exception","reason":"unable to authenticate user [elastic] for REST request [/_bulk]","header":{"WWW-Authenticate":["Bearer realm="security"","ApiKey","Basic realm="security" charset="UTF-8""]}}],"type":"security_exception","reason":"unable to authenticate user [elastic] for REST request [/_bulk]","header":{"WWW-Authenticate":["Bearer realm="security"","ApiKey","Basic realm="security" charset="UTF-8""]}},"status":401}
I checked that the password is properly decoded and I can connect with the same to elastic cloud. Any idea, may be something changed in elastic that requires tweaking?
Hi @IgorZet, unfortunately I do not have an AWS Lambda => Elastic Cloud setup available anymore, so cannot tell if this still works as expected. Pull requests are welcome though!