AWS_LAMBDA_RUNTIME_API is hardcoded and can't be overwritten
Hi-Fi opened this issue · 2 comments
Hi-Fi commented
If InternalAPIport is changed to something else than 80 (which is the default value), functions are not starting because AWS_LAMBDA_RUNTIME_API
is hardcoded to be just 127.0.0.1
.
AWS_LAMBDA_RUNTIME_API
should probably be 127.0.0.1:<InternalAPIport>
?
Relates to triggermesh/knative-lambda-runtime#48
tzununbekov commented
Hi-Fi commented
Seems to be working fine. Replaced in go example Dockerfile's
go get github.com/triggermesh/aws-custom-runtime
with GO111MODULE=on go get github.com/triggermesh/aws-custom-runtime@ef74027b321f3b1df486614ebfb64552c69f8506
.