Open Dreamescaper opened 3 months ago
Findings:
execWrapper
is marked as required (not optional) per AdotInstrumentationConfig definition. execWrapper
accepts one of the values defined as part of AdotLambdaExecWrapper enum.execWrapper
is the required field since last 2 years.AWS_LAMBDA_EXEC_WRAPPER
environment variable.execWrapper
sets the environment variable AWS_LAMBDA_EXEC_WRAPPER
here.AWS_LAMBDA_EXEC_WRAPPER
could be used to set file system path of an executable binary or script, which allows to customize the runtime startup behavior of your Lambda function. A wrapper script enables you to set configuration parameters that cannot be set through language-specific environment variables.execWrapper
should be required for .NET.@Dreamescaper Could you please share what happens if you set execWrapper
to AdotLambdaExecWrapper.REGULAR_HANDLER
.
Internal tracking ticket: P150043839
Update on internal tracking ticket: execWrapper is not mandatory.
Describe the bug
Accodring to the Getting Started page, you don't need to set ExecWrapper for dotnet lambdas. However,
ExecWrapper
is required with CDK.Regression Issue
Expected Behavior
AdotInstrumentation should allow to omit ExecWrapper property.
Current Behavior
ExecWrapper property is mandatory.
Reproduction Steps
Language
.NET