Hello, I just noticed that there is a `pants.backe...
# general
c
Hello, I just noticed that there is a
pants.backend.url_handlers.s3
available. I can't find much documentation on it though. My use case is a docker image that I'm using in aws lambda that requires some additional binaries that are stored in S3. Currently, I download them during CI, add them as a
resource
and include them as
dependencies
in
python_aws_lambda_function
. This works fine but if I could avoid having them in the
python_aws_lambda_function
that would be ideal.
b
That's on me. I'm delinquent on writing docs for that.
c
No worries! Not 100% sure it fits my use case but if it’s supported by resource, maybe it could.
b
Yup it is
There's also a semi-documented
file_source
object, which can be used as the source of a
file
or
resource
👀 1
Combine that with the S3 support, and... Voila!
c
Ok! I’ll take a look at those docs.