awslabs / ecr-cleanup-lambda

A script to discover stale ECR images and take action on them with Lambda to help reduce costs.
Other
161 stars 96 forks source link

boto3 is not needed #15

Closed taraspos closed 7 years ago

taraspos commented 7 years ago

Hello, AWS Lambda execution environment has preinstalled "boto3", so there is no need to include it in the deployment package since it makes the size of the package ~6Mb instead ~1.2Mb.

anshrma commented 7 years ago

Thanks for the details. However, I would prefer them to install with the package to ensure what you test is what gets delivered, and there are no surprises due to boto3 version mismatches.