Skip to content

Commit 1204cf5

Browse files
CyberCycloneDeviaVir
authored andcommitted
Update s3deploy bucket handling (#475)
S3 buckets cannot have uppercase chars, while Lambda functions can. The bucket name needs to adjusted to meet this restriction.
1 parent be25c21 commit 1204cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/s3_deploy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class S3Deploy {
6565
this._md5(params.FunctionName + params.region)
6666
]
6767
.join('-')
68-
.substr(0, 63)
68+
.substr(0, 63).toLowerCase()
6969
}
7070

7171
_s3Key (params) {

0 commit comments

Comments
 (0)