Conan-aws-api-gateway.js
Plugin for "Conan: The Deployer" to deploy Lambda functions to AWS.
Oftenly used with "conan-aws-api-gateway" to get api resource support.
import conan from "conan";
import ConanAwsLambdaPlugin from "conan-aws-lambda";
conan = new Conan();
conan.use(ConanAwsLambdaPlugin);
conan
.lambda("accountCreate", `${__dirname}/../lib/lambdas/accounts/accountCreate.js`, "AWSLambda")
.alias("staging")
.dependencies(`${__dirname}/../lib/**/*`)
.dependencies(`${__dirname}/../package.json`)
.dependencies(`${__dirname}/../environment.json`)
.dependencies(`${__dirname}/../node_modules/{flowsync,almaden}/**/*`);
Quality and Compatibility
Every build and release is automatically tested on the following platforms:
If your platform is not listed above, you can test your local environment for compatibility by copying and pasting the following commands into your terminal:
npm install conan-aws-lambda
cd node_modules/conan-aws-lambda
gulp test
Installation
Copy and paste the following command into your terminal to install conan-aws-lambda:
npm install conan-aws-lambda --save-dev
Getting Started
How to Contribute
See something that could use improvement? Have a great feature idea? We listen!
You can submit your ideas through our issues system, or make the modifications yourself and submit them to us in the form of a GitHub pull request.
We always aim to be friendly and helpful.
Running Tests
It's easy to run the test suite locally, and highly recommended if you're using conan-aws-lambda on a platform we aren't automatically testing for.
npm test