@jaypie/constructs 1.2.65 → 1.2.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +2 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -293,7 +293,7 @@ function addDatadogLayers(lambdaFunction, options = {}) {
|
|
|
293
293
|
extensionLayerVersion: CDK$2.DATADOG.LAYER.EXTENSION,
|
|
294
294
|
env: process.env.PROJECT_ENV,
|
|
295
295
|
service: resolvedService,
|
|
296
|
-
version: process.env.PROJECT_VERSION,
|
|
296
|
+
version: process.env.DD_VERSION || process.env.PROJECT_VERSION,
|
|
297
297
|
});
|
|
298
298
|
datadogLambda.addLambdaFunctions([lambdaFunction]);
|
|
299
299
|
return true;
|
|
@@ -740,6 +740,7 @@ function jaypieLambdaEnv(options = {}) {
|
|
|
740
740
|
// Default environment variables from process.env if present
|
|
741
741
|
const defaultEnvVars = [
|
|
742
742
|
"DATADOG_API_KEY_ARN",
|
|
743
|
+
"DD_VERSION",
|
|
743
744
|
"LOG_LEVEL",
|
|
744
745
|
"MODULE_LOGGER",
|
|
745
746
|
"MODULE_LOG_LEVEL",
|