serverless-deployment-ansible-lite builds and deploys project with Serverless so no extra configuration is needed.
serverless-deployment-ansible deploys already built serverless package.
Here is the deployment flow in short:
- Build artifact with
sls deploy --ansible
(serverless-ansible-build-plugin) which creates Jinja2 template from CloudFormation stack and copies .zip file to deployment folder. - Copy .j2 template and zip to Artifactory/S3 or where ever you wish.
- Ansible playbook downloads template and deploys CloudFormation stack and functions zip to AWS.
More detailled instructions will be available in serverless-deployment-ansible.