Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce input validation #13

Merged
merged 1 commit into from
May 7, 2018

Conversation

medikoo
Copy link
Contributor

@medikoo medikoo commented Jul 17, 2017

Currently if handler is not found on input object, then without further validation direct AWS call are made, which in turn may produce ambigous errors (from AWS side: either about credentials missing or missing FunctionName in params) when expected outcome was that lambda is run locally.

This patch introduces some sanity validation at initialization level.

@mpuittinen mpuittinen merged commit 0e902ee into nordcloud:master May 7, 2018
@mpuittinen
Copy link
Contributor

@medikoo Thanks for the PR. Included in lambda-wrapper 0.3.0

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

Successfully merging this pull request may close these issues.

None yet

2 participants