tokenmill / clojure-graalvm-aws-lambda-template

Leiningen template for AWS Lambda custom runtime with GraalVM native image compiled Clojure projects.
Other
45 stars 2 forks source link

Invalid endpoint: https://s3..amazonaws.com #11

Closed phunanon closed 4 years ago

phunanon commented 4 years ago

Unfortunately sudo make deploy-lambda-via-container results in

Invalid endpoint: https://s3..amazonaws.com
The command '/bin/sh -c aws cloudformation package --template-file lambda.yml --s3-bucket ${S3_BUCKET} --s3-prefix ${S3_FOLDER} --output-template-file /tmp/lambda-packaged.yml' returned a non-zero code: 255
Makefile:30: recipe for target 'deploy-lambda-via-container' failed
make: *** [deploy-lambda-via-container] Error 255

on my Ubuntu 18.04 machine.

dainiusjocas commented 4 years ago

You've forgotten to set an `MY_S3_BUCKET environment variable.