Closed manuelmeurer closed 8 years ago
Awesome, glad it has been helpful! Sorry it didn't all Just Work :(
I don't have time to unravel this right now and get my brain back into it to really help you, but here's a quick comment: I had already created the lambda function via the AWS management console. If you haven't done that yet, it doesn't make any sense to try and "update its code"...
...and as I re-read the name of this issue, I realize that's just what you're asking! So yeah, I need to update the readme to take a more "first time use" perspective.
Does this clear things up enough for you to take it from here? How else can I be helpful?
Yeah, that's what I thought! :smile:
If I can make it work with create-function
, I'll send you a PR.
I created an Ansible role based on your shell script: https://github.com/krautcomputing/ansible-aws-lambda-ruby Thanks again for putting this up, it helped a lot! :smile:
Bravo! I'm a big fan of Ansible, as well. Thanks for making this and for the mentions!
Hey,
First: thanks for putting this code on here, helped me a lot!
I'm trying to get a "hello world" to work, followed the instructions in the README but at the point where
aws lambda update-function-code
is called, I see this error:From
aws lambda update-function-code help
:Maybe
update-function-code
could be used to create functions as well back when you wrote your code? I'll try to make it work withcreate-function
now, but when rerunning it, we'll probably need to check if the function exists first...