From 17671d34725e00bce233f1b35e18d26b6edda367 Mon Sep 17 00:00:00 2001 From: Aimee Barciauskas Date: Thu, 22 Mar 2018 16:34:16 -0400 Subject: [PATCH] Increase memory for CustomBootstrapLambdaFunction (#275) --- CHANGELOG.md | 1 + packages/api/config/lambdas.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92bef90e08a..b357ca2a3e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] - **CUMULUS-304: "Add AWS API throttling to pdr-status-check task"** Added concurrency limit on SFN API calls. The default concurrency is 10 and is configurable through Lambda environment variable CONCURRENCY. +- Increased memory allotment for `CustomBootstrap` lambda function. Resolves failed deployments where `CustomBootstrap` lambda function was failing with error `Process exited before completing request`. This was causing deployments to stall, fail to update and fail to rollback. This error is thrown when the lambda function tries to use more memory than it is allotted. ## [v1.2.0] - 2018-03-20 diff --git a/packages/api/config/lambdas.yml b/packages/api/config/lambdas.yml index c5b8699e34c..afb0b191e38 100644 --- a/packages/api/config/lambdas.yml +++ b/packages/api/config/lambdas.yml @@ -99,7 +99,7 @@ jobs: CustomBootstrap: handler: index.bootstrap timeout: 100 - memory: 256 + memory: 512 source: 'node_modules/@cumulus/api/dist/' envs: internal: '{{buckets.internal}}'