amazon-archives / logstash-input-dynamodb

This input plugin for Logstash scans a specified DynamoDB table and then reads changes to a DynamoDB table from the associated DynamoDB Stream.This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline. This gem is not a stand-alone program.
Apache License 2.0
105 stars 27 forks source link

AWS credentials on EC2 instance not found (in provider chain) #34

Open mikebrules opened 7 years ago

mikebrules commented 7 years ago

Hello - I am unable to start my docker container running this plugin on AWS because it can't find the role "in the provider chain"...

My role is on EC2, and other services running in ECS are able to make use of it, including creating tables etc - but this plugin cannot. I get this;

"LogStash::ConfigurationError: AWS credentials invalid or not found in the provider chain "

I have given the role (way too much) privilege for what it needs just to be sure, but nothing...

Is the plugin not using able to search the standard location for roles?

Would appreciate any help

Mike

mikebrules commented 7 years ago

As a follow up, I've resorted to hardcoding them as per the instructions here

https://github.com/awslabs/logstash-input-dynamodb#running-the-logstash-plugin-for-amazon-dynamodb

Same error. How do you pass credentials to the plugin?!!!!