Notes
Adds local testing for Extension. Local testing is enabled by setting
NEWRELIC_LOCAL_TESTINGtotrue. Currently it supports Python runtime only, and generates Lambda layers forx86andarmarchitectures usingpublish.shand invokes the test Lambdas usingtest.shscript.Removes
SSM parameter storecalls. Extension has sanitycheck calls toSSM storethat adds to production quotas for customers. CallSSM storeonly whenNEW_RELIC_LICENSE_KEY_SSM_PARAMETER_NAMEvar is set totrue.Adds timeout for calls to
Secrets Manager&SSM Parameter Store.Gives priority to
NEW_RELIC_LICENSE_KEYand bypass calls toSecrets ManagerifNEW_RELIC_LICENSE_KEYis set.
Fixed issue
- Resolved Extension warning messages for Node.js runtime with ESM scripts. Previously, correctly configuring
newrelic-lambda-wrapper.handlerandNEW_RELIC_LAMBDA_HANDLERdid not eliminate warning message for the Node.js ESM scripts. The solution involved usingNEW_RELIC_USE_ESMto detect ESM scripts #209.