Documentation incorrect for Lambda's create_function
See original GitHub issueI’ve been trying to use Lambda’s create_function
by supplying a zip as an argument Code={'ZipFile': ...}
, but have encountered problems with the documentation.
The documentation says:
ZipFile (bytes) -- A base64-encoded .zip file containing your deployment package. For more information about creating a .zip file, go to Execution Permissions in the AWS Lambda Developer Guide .
Two problems I encountered:
- Did not work when encoding zip in base64, but instead worked when I passed the bytes directly.
- The page linked to (Execution Permissions) does not even contain the word
zip
I’m guessing boto instead encodes the file to base64 itself?
thanks
Issue Analytics
- State:
- Created 8 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
Troubleshoot deployment issues in Lambda
Deployment errors prevent the new version from being used and can arise from issues with your deployment package, code, permissions, or tools. When...
Read more >bug: Incorrect ARN for lambda function · Issue #5147
Cross-region support and Lambda function usage should be documented somehow. If I specified a region(us-west-1) using AWS_REGION environment ...
Read more >Testing AWS Lambda functions locally - invalid ...
According to the aws-lambda-local docs, there is no -l option. Use -f or --function to specify the file with the lambda function.
Read more >LAMBDA function
If an incorrect number of arguments is passed to a LAMBDA function, Excel returns a #VALUE! error. If you call a LAMBDA function...
Read more >Build functions
Create function file ... Because Netlify Functions are powered by AWS Lambda, AWS's environment property limits apply to environment variables used with ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
for anyone stumbling on this late, syntax looks like:
Thank you @ryantuck !