Closed
Description
Summary
We should remove the email-validator
dependency from the v2 Lambda Layer and SAR.
Why is this needed?
As we try to reduce the size of our v2 layer, we noticed that the email-validator is only needed if you use the pydantic's EmailStr
validator.
Currently, adding email-validator
adds ~400KB to our compressed layer size.
Which area does this relate to?
Validation
Solution
No response
Acknowledgment
- This request meets Lambda Powertools Tenets
- Should this be considered in other Lambda Powertools languages? i.e. Java, TypeScript