Comments (3)
Note, I did play with this and tried to create sample that makes use of common code but either Gordon doesn't yet support this or I'm attacking it wrong. My experience with common code across lambda functions within an app (microservice) is from Serverless. See https://serverlesscode.com/post/python-on-serverless-intro/ and look for section titled "Writing Common Code". I'm trying to achieve common lib code for an app (in my case model code for Pynamodb that would be re-usable across multiple lambda functions).
from gordon.
👍
This would be useful as well as the ability to provide the pip dependencies in a zip file that can be merged into the deployment package. E.g. anything using PyOpenSSL needs to be compiled against openssl on an Amazon Linux AMI. Python modules with native C extensions compiled on OSX, err macOS, don't work when packaged up and deployed to lambda. By don't work I mean when executing the lambda function Python is unable to load the module containing the handler.
from gordon.
@JDFagan Have you considered overriding the build
option in settings.yaml
? http://gordon.readthedocs.io/en/latest/lambdas.html#build
from gordon.
Related Issues (20)
- Option to fix lambda name in settings.yml
- Add support for configuring DLQ HOT 1
- Issues with nodejs6.10 HOT 7
- question about gordon build
- iam:GetRole still needed
- 'gordon' with no args raises error
- Add python3.6 runtime HOT 5
- Step Functions
- Typo? "context_destinaton"
- Share build settings between lambdas?
- requires troposphere <2.0 HOT 1
- S3 bucket name collision conflict when used across multiple accounts
- gordon appears to ignore npm failures HOT 1
- Can't integrate my kinesis Stream
- version 0.7.0 not published for python3? HOT 3
- python 3 string issue
- EC2 Throttling Issue
- unable to use gordon in aws china
- API Gateway: Headers integration lambda parameters was lost on deply
- wrong project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gordon.