aws-lambda-cpp
aws-lambda-cpp copied to clipboard
Some documentation regarding AWS is outdated.
Great work, however I came across some problems, when using this. Seems like some time has passed in AWS land. :)
- there is no
providedruntime anymore, proper options are now:prodived.al2023orprovided.al2see -> https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html - AWS CLI@2 needs an additional option, if you want to pass a
--payload-> https://stackoverflow.com/questions/60310607/amazon-aws-cli-not-allowing-valid-json-in-payload-parameter - Nowadays with
arm64becoming more and more popular and actually being the cheaper choice on AWS, it should be documented; i.e. building this on Apple Silicon as-is and using the given docs, you'd provide aarm64Lambda, but w/o explicit--architecturesoption it will be invoked with ax86runtime, which of course does not work.
Minor stuff is, that the provided example for the JSON message is actually not valid JSON, although you actually get the result, when invoked, this should be made clearer.
There are other things, which could be improved, but those were some blockers I came across and they should be fixed.