Search code examples
ibm-cloudopenwhisk

OpenWhisk- How to upload package actions?


I am new to OpenWhisk. I am currently using AWS Lambda(node.js) to generate custom tokens. Lambda has an option to upload the Zip file as a package. Does OpenWhisk have a similar option? I couldn't find any doc related to such an option.


Solution

  • OpenWhisk now (24th October 2016) supports uploading a zip file with your Node.js source files and NPM modules to run as an Action.

    This documentation page has details on how to use this feature.

    $ wsk action create packageAction --kind nodejs:6 action.zip