aws-lambda-cpp icon indicating copy to clipboard operation
aws-lambda-cpp copied to clipboard

Some documentation regarding AWS is outdated.

Open ChristianUlbrich opened this issue 1 year ago • 0 comments

Great work, however I came across some problems, when using this. Seems like some time has passed in AWS land. :)

  • there is no provided runtime anymore, proper options are now: prodived.al2023 or provided.al2 see -> 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 arm64 becoming 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 a arm64 Lambda, but w/o explicit --architectures option it will be invoked with a x86 runtime, 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.

ChristianUlbrich avatar Aug 21 '24 09:08 ChristianUlbrich