From b6748be51e52ba6a5d317381f0fc1ab502b430a5 Mon Sep 17 00:00:00 2001 From: CyberCyclone Date: Tue, 29 Jan 2019 12:00:15 +1000 Subject: [PATCH] Fix for S3 bucket name rejections S3 bucket names must be lowercase, while Lambda functions can be uppercase. --- lib/s3_deploy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/s3_deploy.js b/lib/s3_deploy.js index 56bebd9f..86e6b9d6 100644 --- a/lib/s3_deploy.js +++ b/lib/s3_deploy.js @@ -65,7 +65,7 @@ class S3Deploy { this._md5(params.FunctionName + params.region) ] .join('-') - .substr(0, 63) + .substr(0, 63).toLowerCase() } _s3Key (params) {