skip to Main Content

How is the !Ref function used in an AWS CloudFormation template?

Im tying to follow AWS tutorial for creating lambda function using sam cli It created the following yaml file # This is the SAM template that represents the architecture of your serverless application # https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-basics.html # The AWSTemplateFormatVersion identifies the…

VIEW QUESTION

OpenCV – AWS Lambda – /lib64/libz.so.1: version `ZLIB_1.2.9' not found

In Python, trying to run the opencv package in an AWS lambda layer. Using opencv-python-headless but keep getting this error. Response { "errorMessage": "Unable to import module 'lambda_function': /lib64/libz.so.1: version `ZLIB_1.2.9' not found (required by /opt/python/lib/python3.8/site-packages/cv2/../opencv_python_headless.libs/libpng16-186fce2e.so.16.37.0)", "errorType": "Runtime.ImportModuleError", "stackTrace": []…

VIEW QUESTION

Exec-wrapper.sh: does not exist

I'm currently using lambda function which is invoked using Aws Lex. It was working normally and I didn't modify any of its configuration and out of nowhere it stopped working and I keep getting this error. /opt/sls-sdk-node/exec-wrapper.sh: does not exist…

VIEW QUESTION

Cannot import csv-parse on lambda in nodejs 12

I am writing a code which requires csv-parse on lambda. Runtime is node 12.x. I installed following modules via npm 6.14.10 (node v12.20.1) { "name": "data_analysis_node", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo "Error: no test specified"…

VIEW QUESTION
Back To Top
Search