lifadev / archive_aws-lambda-go-shim

Author your AWS Lambda functions in Go, effectively.

Home Page:https://github.com/eawsy/aws-lambda-go-shim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple app failing with 'dynamic module does not define init function'

tobowers opened this issue · comments

https://github.com/QuorumControl/failingapp

START RequestId: 58debea0-1ec6-11e7-887b-b5fd3e416142 Version: $LATEST
Unable to import module 'handler': dynamic module does not define init function (inithandler)

I'm pretty confused as to what's happening. I've been using your excellent software and I can still deploy one of my apps successfully, but not the one I'm working on and not the extremely simple app linked above.

If you are to run ./deploy.sh in there, you'll need to change the s3 bucket.

oh man... it's because that infrastructure file is missing a CodeUri... sorry!