Giter Site home page Giter Site logo

gulp-awslambda's Issues

Support New Version NodeJS Runtime

Would it be possible to update the aws-sdk version to pick up the new nodejs4.3 runtime? I can help with a pull request if needed. Thx.

where to store creds

Was wondering if it will pick up my creds file if I store it in the root of my project. Doesn't seem to currently be working. I've simply added .aws/credentials to the root of my project along with my gulp file but its throwing errors saying it can't find credentials.

side note: Is it possible to store creds in a different matter and have it be picked up. Maybe providing a path to a static JSON file?

Add support for publishing versions

AWS Lambda recently launched support for versions: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html

There is a corresponding update to the Javscript SDK, where both the updateFunctionCode and createFunction, now take a Publish property in the params object which can be set to true or false:

Please add support for it in your plugin.

Possible to leverage S3?

Would it be possible to add an option to create/update the lambda function so that it is based on an object inside S3 that is uploaded separately? I would prefer to upload the zip files to S3, then define lambdas that point there based on the S3 options of the code object -

var params = {
  Code: { /* required */
    S3Bucket: 'STRING_VALUE',
    S3Key: 'STRING_VALUE',
    S3ObjectVersion: 'STRING_VALUE'
  },
  ...
}

Publish unexpected key in params

README states:

Otherwise, you may simply specify Publish as a parameter. If both are provided, the value in lambda_params will take precedence.

If I add Publish to my params:

....
Runtime: 'nodejs4.3',
Publish: true,
Timeout: 3
...

I get:

[20:28:36] Error in plugin 'gulp-awslambda'
Message:
Unexpected key 'Publish' found in params
Details:
domainEmitter: [object Object]
domain: [object Object]
domainThrown: false

removing devDependencies

Hello willyg302,

Do you have a gulpfile using using gulp-awslamda which only copies the production node modules to aws? I'm trying to remove the devDependencies from being copied but am stuck on integrating gulp-install. Anyways, any help is appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.