Coder Social home page Coder Social logo

dynamodb-to-elasticsearch's People

Contributors

dependabot[bot] avatar emephield avatar koxon avatar mhugot avatar mohit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dynamodb-to-elasticsearch's Issues

Error while creating function.

Hi,

It seems some sequences in the makefile is wrong. I am getting the below error when trying to create the function. all the required Env are set and the env file is put in s3 as well.

➜ dynamodb-to-elasticsearch git:(master) ✗ make create/dynamoToES DESC="Process DynamoDB stream to ES"
find build/ -mindepth 1 -not -name setup.cfg -delete
find: build/: No such file or directory
make: *** [build/setup.cfg] Error 1

IAM role for lambda needs GET and DELETE

The blog post that you linked to has the IAM role for the Lambda function only able to do a POST, but the es.info() debug function you call requires GET permissions, and the delete functionality will require DELETE as well. Probably worth noting in the README.

ValueError: invalid literal for int() with base 10: 'aws'

I have built and uploaded the Lambda function package (manually) and on testing the function in the AWS console, I get the following error:

invalid literal for int() with base 10: 'aws': ValueError
Traceback (most recent call last):
  File "/var/task/lambda.py", line 33, in lambda_handler
    connection_class=RequestsHttpConnection
  File "/var/task/elasticsearch/client/__init__.py", line 171, in __init__
    self.transport = transport_class(_normalize_hosts(hosts), **kwargs)
  File "/var/task/elasticsearch/client/__init__.py", line 41, in _normalize_hosts
    if parsed_url.port:
  File "/usr/lib64/python2.7/urlparse.py", line 113, in port
    port = int(port, 10)
ValueError: invalid literal for int() with base 10: 'aws'

Please note:

lambda.py is exactly the same file as src/DynamoToES/index.py

That's the format of the Elasticsearch cluster URL:

arn:aws:es:eu-central-1:29490xxxxx:domain/frxxxx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.