With this new feature, we could create an AWS Lambda Layer which hooks into Lambda lifecycle events. This way it should be possible to add this great library by just adding a layer to the lambda and configuring the environment variables without the need to wrap existing code :)
What do you think about? Do you see any obstacles?
See https://aws.amazon.com/about-aws/whats-new/2020/10/aws-lambda-extensions-integrate-operational-tools/
With this new feature, we could create an AWS Lambda Layer which hooks into Lambda lifecycle events. This way it should be possible to add this great library by just adding a layer to the lambda and configuring the environment variables without the need to wrap existing code :)
What do you think about? Do you see any obstacles?