DevSecOps | 🔱 Collection and Roadmap for everyone who wants DevSecOps | Awesome List library
kandi X-RAY | DevSecOps Summary
kandi X-RAY | DevSecOps Summary
Collection and Roadmap for everyone who wants DevSecOps.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of DevSecOps
DevSecOps Key Features
DevSecOps Examples and Code Snippets
Community Discussions
Trending Discussions on DevSecOps
QUESTION
I am running the AWS DevSecOps project present here:
In the StaticCodeAnalysis
stage of the pipeline I am getting AWS Lambda function failed.
On checking the log the error is:
"Unable to import module
cfn_validate_lambda
: No module named cfn_validate_lambda".
I checked that the S3 bucket that has the python code Zip and also ensured that the zip file has Public
in the permissions.
Please let me know how to resolve this.
Thanks.
...ANSWER
Answered 2019-Nov-25 at 19:58You have to package and zip the dependencies carefully...
The problem lies in the packaging hierarchy. After you install the dependencies in a directory, zip the lambda function as follows (in the example below, lambda_function is the name of my function)
Try this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install DevSecOps
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page