Shameless modification of https://github.com/kubek2k/heroku-aws-java-lambda-buildpack
$ heroku buildpacks:set https://github.com/kubek2k/heroku-aws-nodejs-lambda-buildpack
_LAMBDA_FUNCTION_ARN
- the ARN of lambda that is going to be deployed to_AWS_ACCESS_KEY_ID
- AWS access key id used for deployment_AWS_SECRET_ACCESS_KEY
- AWS secret key used for deployment_AWS_DEFAULT_REGION
- AWS region to be used
All env variables starting with _
sign are not injected into env.properties
file
URGENT: The user owning the AWS access key โ๏ธ should have permissions to update function code (Action: ["lambda:UpdateFunctionCode"]
)
$ git push heroku master
$ heroku run deploy