awslabs / logstash-output-amazon_es

Logstash output plugin to sign and export logstash events to Amazon Elasticsearch Service
Apache License 2.0
375 stars 103 forks source link

upgrade aws-sdk to v3 to support webidentitytoken via service account IAM #195

Closed hardproblems closed 2 years ago

hardproblems commented 2 years ago

Issue #, if available: https://github.com/awslabs/logstash-output-amazon_es/issues/169

Description of changes: Support IMDS by upgrading to the latest version documented in https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-minimum-sdk.html

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@dlvenable

hardproblems commented 2 years ago

@dlvenable we built this plugin with 6.8 and tested that it works against ES 6.8 and 7.1. Yea the reason we had to upgrade this one is that we haven't yet upgraded all our ES clusters to 7.x and OpenSearch 1.x and based on opensearch plugin's docs it doesn't officially support ES 6.x