Q: Can I use Ansible in order to build/deploy an AWS SAM (Serverless Application Model) template? If so can anyone post an example of how this Ansible Playbook (e.g. with build/deploy tasks) should look like?
Note:
I've searched the web and haven't found anyone giving such an example. AWS SAM is not even mentioned in Ansible documentation. except a GitHub issue (feature idea) that suggests supporting SAM with Ansible - but that was from 2017.
Thanks a lot
Yes sure you can.. here is the Ansible reference help and another help article
get the Serverless Plugin, help here
..."This plugin is part of the community.general collection (version 3.0.2).
To install it use:
ansible-galaxy collection install community.general
..."