https://pantsbuild.org/ logo
#general
Title
# general
e

enough-analyst-54434

12/06/2022, 6:17 PM
So, I'm getting lost, but, IIUC @billions-keyboard-33102 you chimed into this thread up above because you too are using a docker container for your lambda. If that's correct then I'd suggest not using `python_awslambda`and using
pex_binary
instead. That supports
PEX_INHERIT_PATH
config (https://www.pantsbuild.org/docs/reference-pex_binary#codeinherit_pathcode). You really only need
python_awslambda
for the lambda zip deployment scheme and even that is only historically true. You can now use a plain old PEX (
pex_binary
again) for that too; you just prefix your lambda entry point configuration value out in AWS with
__pex__.
to make PEX files as lambda zips work.
2 Views