Would there be any interest in an example reposito...
# general
c
Would there be any interest in an example repository for serverless use cases? Thinking specifically to demonstrate the
python_aws_lambda_function
and
python_aws_lambda_layer
. I created an issue on the Powertools for AWS Lambda repo to add docs to show examples of packaging lambda code with Pants since they reference Pants in their docs already. I was thinking that a demo repo might be better than code snippets. You can have a fully pants instrumented demo repo for a serverless use case.
h
Sounds like a great idea to me! @broad-processor-92400, what do you think?
b
Yeah! Can you file an issue in the main pants repo, Tony, so we don’t forget about it?
c
Of course! It's something I'd be happy to contribute too. Kind of hoping this can kill two birds with one stone with the issue I created in the Powertools repo.
h
I can create a blank repo for you to add a PR to @cold-jackal-89755!
c
Great! Thanks
h
You'll want to tweak the .gitignore to add Pants-y things (the other example repos have examples)
Thanks!
You can also look to some other example-* repos for what we want in a README etc
c
Will do! Thanks @happy-kitchen-89482 and @broad-processor-92400!
I started with some of the initial configuration of Pants and what an example folder structure might be for some lambda functions. https://github.com/pantsbuild/example-serverless/pull/1 I'd like to add some example code and tests that can be packaged up for aws lambda next. Just trying to keep PRs small to make reviewing easier.