Closed pchrapka closed 9 months ago
Logs will be forwarded to the datadog extension Datadog Serverless Plugin version: 5.56.0 with identical setup does not throw the error
Lambda throws a error:
{
"errorType": "Extension.LaunchError",
"errorMessage": "RequestId: 42aaa24b-4744-4f7c-8a5d-f9c7d9c1ace3 Error: fork/exec /opt/extensions/datadog-agent: exec format error"
}
test lambda function
Is it possible that this Layer, which is described in src/layers.json line103-104 (Layer Version 54) is having issues?
I looked up the Datadog-Lambda-extension Repo and saw they only released version until 53. Im not quite sure if this v53 is related to the referenced Number (in the layers.json file) but I'm guessing it, because previos version works fine.
BR Paul
Update 09.02.2024: With 5.57.1 it works again: https://github.com/DataDog/serverless-plugin-datadog/tree/v5.57.1
cc @DylanLovesCoffee for visibility
👋 hey, sorry about this. As @Paullh95 mentioned, this is indeed an issue with a partial release of v54 of the Lambda Extension which has been reverted with v5.57.1.
Expected Behavior
Setting enableASM flag to true should create a functional lambda.
Actual Behavior
Lambda throws a runtime error with
/opt/data_wrapper does not exist
Steps to Reproduce the Problem
enableASM=true
Specifications
Stacktrace