awslabs/aws-sigv4-proxy

Support lambda-url

vumdao opened this issue · 1 comments

Issue: With the host: 123456theid.lambda-url.ap-southeast-1.on.aws I got following error

ERRO[0237] unable to proxy request                       error="unable to determine service from host: 123456theid.lambda-url.ap-southeast-1.on.aws"

Expected: Support for lambda-url

@vumdao Specifying --name lambda --region <AWS_REGION> worked for me, e.g.:

docker run --rm -ti \
  -v ~/.aws:/root/.aws \
  -p 8080:8080 \
  -e 'AWS_SDK_LOAD_CONFIG=true' \
  -e 'AWS_PROFILE=<SOME PROFILE>' \
  aws-sigv4-proxy -v --name lambda --region ap-southeast-1