From 22931be9727a45bbf31f10b327cbdcd3a674a57e Mon Sep 17 00:00:00 2001 From: "Worker Pants (Pantsbuild GitHub Automation Bot)" <133242086+WorkerPants@users.noreply.github.com> Date: Thu, 31 Aug 2023 17:53:25 -0500 Subject: [PATCH] Fix typoed artifact name in Lambda docs (Cherry-pick of #19739) (#19746) Small typo in #19180: the target name is `lambda`, and hence the PEX name will be `lambda.pex`, not `lambdex.pex`. Co-authored-by: Huon Wilson --- docs/markdown/Python/python-integrations/awslambda-python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/markdown/Python/python-integrations/awslambda-python.md b/docs/markdown/Python/python-integrations/awslambda-python.md index e4067093faf..5356659b3b0 100644 --- a/docs/markdown/Python/python-integrations/awslambda-python.md +++ b/docs/markdown/Python/python-integrations/awslambda-python.md @@ -154,7 +154,7 @@ def example_handler(event, context): print("Hello AWS!") ``` -Then, use `pants package project:lambda`, and upload the resulting `project/lambdex.pex` to AWS. The handler will need to be configured in AWS as `__pex__.lambda_example.example_handler` (assuming `project` is a [source root](doc:source-roots)). +Then, use `pants package project:lambda`, and upload the resulting `project/lambda.pex` to AWS. The handler will need to be configured in AWS as `__pex__.lambda_example.example_handler` (assuming `project` is a [source root](doc:source-roots)). Migrating from Pants 2.16 and earlier -------------------------------------