Skip to content

Docs: Packaging Assets with Pants #3518

@TonySherman

Description

@TonySherman

What were you searching in the docs?

The Micro Function Pattern with Event Handler.

Is this related to an existing documentation section?

https://docs.powertools.aws.dev/lambda/python/latest/core/event_handler/api_gateway/#micro-function

How can we improve?

There is a link that references using lambda layers or Pants Build to package lambda code. Pants has made significant improvements in packaging lambdas and packaging lambda layers and using rust to infer both internal and external dependencies.

It would be nice to see some examples of how to package lambda functions with Pants.

Got a suggestion in mind?

Pants does have some initial setup that is well documented, but it does take some time to set up instrumentation. Code snippets can be helpful, but a fully instrumented demo repo might be the best way to show how Pants can really help with packaging lambda code.

Acknowledgment

  • I understand the final update might be different from my proposed suggestion, or refused.

Sub-issues

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Projects

Status

Working on it

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions