diff --git a/source/common/changes/@awssolutions/cdf-device-monitoring/fix_device_monitoring_lambda_memory_2024-02-08-20-41.json b/source/common/changes/@awssolutions/cdf-device-monitoring/fix_device_monitoring_lambda_memory_2024-02-08-20-41.json new file mode 100644 index 000000000..74e715407 --- /dev/null +++ b/source/common/changes/@awssolutions/cdf-device-monitoring/fix_device_monitoring_lambda_memory_2024-02-08-20-41.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@awssolutions/cdf-device-monitoring", + "comment": "increased lambda function size to 512MB", + "type": "none" + } + ], + "packageName": "@awssolutions/cdf-device-monitoring" +} \ No newline at end of file diff --git a/source/packages/services/device-monitoring/infrastructure/cfn-device-monitoring.yml b/source/packages/services/device-monitoring/infrastructure/cfn-device-monitoring.yml index d1c355c9a..74f137c2c 100644 --- a/source/packages/services/device-monitoring/infrastructure/cfn-device-monitoring.yml +++ b/source/packages/services/device-monitoring/infrastructure/cfn-device-monitoring.yml @@ -110,7 +110,7 @@ Resources: FunctionName: !Sub 'cdf-deviceMonitoring-${Environment}' CodeUri: ../bundle.zip Handler: iot_lifecycle_event.lambda_handler - MemorySize: 128 + MemorySize: 512 Role: !GetAtt IoTLifecycleLambdaRole.Arn Runtime: nodejs18.x Timeout: 29