Showing results for 
Show  only  | Search instead for 
Did you mean: 

APM Serverless Lambda. Python extension crash. AWS_Execution_Env not supported



I'm trying to implement APM Serverless for AWS Lambda in a Python function. The function is deployed via a container image, so the extension is built as a layer in the Dockerfile.


Firstly, in case someone is trying to auto instrument this process; The extension must be unzipped into /opt/extensions/ not to /opt/ like suggested in the docs. Otherwise, the Lambda won't see the extension.


However, when executing the function, I get the following error:


AWS_Execution_Env is not supported, running lambda with default arguments.

EXTENSION Name: appdynamics-extension-script State: Started Events: []

Start RequestId

End RequestId

Error: exit code 0 Extension.Crash


Without more information. Any idea what could be causing said crash?