Please allow setting the runtime-interface-emulator-address via an environment variable.
At the moment it's only possible to configure it through the command line.
Use case:
Trying to run a lambda locally (e.g. public.ecr.aws/lambda/ruby:3.2-x86_64) which needs to connect to a port on the host using the --network host parameter.
At the moment I need to manually patch the lambda-entrypoint.sh file, e.g. change the line to configure the port
From:
Please allow setting the
runtime-interface-emulator-address
via an environment variable. At the moment it's only possible to configure it through the command line.Use case: Trying to run a lambda locally (e.g.
public.ecr.aws/lambda/ruby:3.2-x86_64
) which needs to connect to a port on the host using the--network host
parameter. At the moment I need to manually patch thelambda-entrypoint.sh
file, e.g. change the line to configure the port From:To: