@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.
@@ -329,7 +329,7 @@ function addDatadogLayers(lambdaFunction, options = {}) {
329
329
  extensionLayerVersion: CDK$2.DATADOG.LAYER.EXTENSION,
330
330
  env: process.env.PROJECT_ENV,
331
331
  service: resolvedService,
332
- version: process.env.PROJECT_VERSION,
332
+ version: process.env.DD_VERSION || process.env.PROJECT_VERSION,
333
333
  });
334
334
  datadogLambda.addLambdaFunctions([lambdaFunction]);
335
335
  return true;
@@ -776,6 +776,7 @@ function jaypieLambdaEnv(options = {}) {
776
776
  // Default environment variables from process.env if present
777
777
  const defaultEnvVars = [
778
778
  "DATADOG_API_KEY_ARN",
779
+ "DD_VERSION",
779
780
  "LOG_LEVEL",
780
781
  "MODULE_LOGGER",
781
782
  "MODULE_LOG_LEVEL",