AWS Lambda allows uploading from S3. The S3 object can be specified in the console.
There is bug when the Lambda and the S3 bug are both in AWS region eu-central-1
.
The S3 console gives the following resource url: https://s3.eu-central-1.amazonaws.com/xzy/lambda_function.zip
.
Inputing the url raises an error by the Lambda GUI.
The usual S3 endpoint domain is s3-{region-name}.amazonaws.com
(documentation).
The problem is that eu-central-1
region is deviating from this scheme, allowing s3.eu-central-1.amazonaws.com
(note the dot)).
This endpoint is given in by the console. Copy-and-pasting it reveals the incorrect validation in the Lambda GUI.