Skip to content

humilis/humilis-sam

Repository files navigation

Humilis plug-in to deploy a SAM application

PyPI

A humilis plug-in layer that deploys a SAM application.

Installation

pip install humilis-sam

To install the development version:

pip install git+https://github.com/humilis/humilis-sam

Development

Assuming you have virtualenv installed:

make develop

Configure humilis:

make configure

Testing

You can test the deployment of a serverless API with:

make test

The test suite should destroy the deployed API automatically, but you can make sure you are not leaving any infrastructure behind by manually running:

make delete

Examples

To see some examples of how to use this Humilis layer refer to the integration tests :

tests/integration/humilis-sam-classic.yaml
tests/integration/humilis-sam-swagger.yaml

The SAM application can be deployed using a swagger file or not. If you chose to use the swagger method, the swagger template will be generated automatically and outputed next to your environment file.

More information

See humilis documentation.

Contact

If you have questions, bug reports, suggestions, etc. please create an issue on the GitHub project page.

License

This software is licensed under the MIT license.

See License file.

© 2017 Arnaud Charpentier, Find Hotel and others.

About

Generate a customised Serverless Application Model to deploy a Lambda + API Gateway service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published