Added custom lambda layer caused SSL authorization error when calling AWS S3
问题 I created a lambda layer for AWS lambda in Python 3.8, however, it is causing a SSL authorization error when calling S3 in my lambda function (even though no packages in the lambda layer are imported in the main lambda function) The following code succeeded when no lambda layer is added, but failed when added my custom lambda layer. import boto3 def lambda_handler(event, context): c1 = boto3.client("s3") lst = c1.list_buckets() print(lst) return { 'statusCode': 200, 'body': 'Hello from Lambda