aws / aws-lambda-runtime-interface-emulator

Apache License 2.0
915 stars 95 forks source link

How to use --runtime-api-address? #92

Closed mopatches closed 1 year ago

mopatches commented 1 year ago

Hi folks! We'd like to use a different port than the default 8080, and it appears there's a flag for setting it. What's the right syntax?

The following does not work:

/app/aws-lambda-rie --runtime-api-address=0.0.0.0:8080 /usr/local/bin/python -m awslambdaric my_file.handler
mopatches commented 1 year ago

Whoops, I was on an old version. Sorry!