Skip to content

Commit

Permalink
Fix typoed artifact name in Lambda docs (Cherry-pick of #19739) (#19746)
Browse files Browse the repository at this point in the history
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 <huon@exoflare.io>
  • Loading branch information
WorkerPants and huonw authored Aug 31, 2023
1 parent c62dbd3 commit 22931be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------------------------------
Expand Down

0 comments on commit 22931be

Please sign in to comment.