Resolves aws-samples/aws-lambda-elixir-runtime#14 - Migrate from Distillery to mix release
Resolves aws-samples/aws-lambda-elixir-runtime#15 - libcrypto.so.1.1: cannot open shared object file: No such file or directory
Description of changes:
This pull requests updates AWS Lambda Elixir Runtime to work on current versions of AWS Lambda, Elixir, and OTP. All unit test are completing successful and the hello_world example has been tested and verified on AWS Lambda.
Migrates from the now deprecated Mix.Config to Config
Migrates from the now deprecated Distillery to mix release
Migrates from Poison to Jason to take advantage of better compile time and runtime performance
Deprecates EPMD.StubClient as it is not needed when using mix release
Deprecates Mix.Tasks.GenLambdaRelease as it is not needed when using mix release
Modifies Mix.Tasks.Zip to output zip file to _build/#{Mix.env()}/rel/#{app} instead of the project root folder so that the file can be cleaned up with mix clean
Updates all dependencies to their latest stable version
Updates Elixir version to 1.15 (latest stable version) though the code might work on versions >1.8 (no guarantees)
Updates shared objects (libraries) to latest libssl.so and libcrypto.so.1.1. from Amazon Linux 2 Kernel 5.10 AMI 2.0.20230727.0 x86_64
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes: This pull requests updates AWS Lambda Elixir Runtime to work on current versions of AWS Lambda, Elixir, and OTP. All unit test are completing successful and the hello_world example has been tested and verified on AWS Lambda.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.