that can be deployed without the need to provision or manage servers.
The Serverless Framework is an open-source web framework for building applications that can be deployed without the need to provision or manage servers.
$ serverless install -u <GITHUB URL OF SERVICE>
$ pip install -r requirements.txt
``
$ sls plugin install -n <plugins>
* Deploy when you change the code.
$ sls deploy --aws-profile <your profile>
$ sls invoke -f <function name> --log --aws-profile <your profile>
If you use test json data...
- Create
event.json
file - Execute the following command
$ sls invoke -f <function name> --log -p event.json --aws-profile <your profile>
- Framework Core: 3.38.0
- Plugin: 7.2.0
- SDK: 4.5.1
https://www.serverless.com/framework