This project is in development
Install Node.js & Serverless framework binary on your Cloudify Manager
1 yum install -y gcc-c++ make
2 curl -sL https://rpm.nodesource.com/setup_12.x | sudo -E bash -
3 sudo npm install -g serverless
There is only one blueprint.
- A simple "hello world" blueprint,
aws.yaml
.
In order to invoke function using serverless follow the inputs.yaml
below:
allow_kwargs_override: true
operation_kwargs:
functions:
- hello_1
- hello_2
operation: 'serverless.interface.invoke'
node_instance_ids:
- example-aws-serverless_pqua9s
cfy executions start execute_operation -d aws-serverless -p inputs.yaml
cfy uninstall $deploymentid --allow-custom-parameters -p ignore_failure=true