While calling from SageMaker notebook, it works.
But from Lambda, I am getting an SSL Validation error.
I noticed there was a difference in the version of BOTO3 between both:
Lambda boto3 version is 1.28.x
Sage maker Notebook version is the latest one 1.34.x
I am unable to test with the latest version because I am already loading OpenCV and NumPy in a Lambda layer, which is near the quota limit (249 MB)
Did anyone encounter this before and managed to fix it?