Skip to content

Instantly share code, notes, and snippets.

@jtsaito
Created April 13, 2016 19:34
Show Gist options
  • Save jtsaito/98f915f1a323a587a2020dc018c0f595 to your computer and use it in GitHub Desktop.
Save jtsaito/98f915f1a323a587a2020dc018c0f595 to your computer and use it in GitHub Desktop.
AWS Lambda GUI bug for zip upload

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment