Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Plugin's AWS Java SDK version not compatible with AWS ECS Agent #29

Open
trollefson opened this issue Feb 1, 2017 · 6 comments
Open

Comments

@trollefson
Copy link

The current Java SDK version in use by the plugin is 1.10.11

On July 13th, 2016 AWS began supporting IAM roles for ECS Tasks. In order to use this feature a Java SDK version >= 1.11.16 is required.

I am running Logstash with this plugin via a Docker container on AWS ECS. Rather than passing in credentials to the plugin I let credentials be discovered through the AWS Provider Chain. My ECS Container Instance ends up discovering credentials via the instance profile credentials (step 5) rather than the Amazon ECS container credentials I have configured (step 4). This appear to be because of the outdated Java SDK used by the plugin.

Please update the Java SDK version to be >= 1.11.16.

Thanks!

@marcosnils
Copy link

@trollefson are you using your own docker image, or you're using this one?https://hub.docker.com/r/mantika/logstash-dynamodb-streams/

@trollefson
Copy link
Author

@marcosnils That one extended with the ability to pass in custom configs

@marcosnils
Copy link

@trollefson ok, in that case you need to send a PR to this branch https://github.com/marcosnils/logstash-input-dynamodb/tree/deps_update with the dependency updates so I can merge and rebuild the image.

This repo is practically dead, and I'm not using logstash anymore, so I won't invest too much time on this.

@trollefson
Copy link
Author

@marcosnils Thank you for your help. I will be sure to do that today

@jehanzebqayyum
Copy link

@marcosnils what are you using to connect dynamodb to elasticsearch
?

@marcosnils
Copy link

@jehanzebqayyum I'm now using dynamodb streams + AWS lambda.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants