Nowadays, Serverless is widely adopted. The AWS Lambda Helps your organization focus on just the Code that needs to be done for business purposes.
Boost up development speed and do not need to handle infrastructure and operations.
On the first days of the development process, we might do it via console, write your code, and trigger; oh, that's working, and my job is done.
But as time passed, the System got more and more complex to many resources, and there are many stuff to be concerned about like code quality, Deployment Operation, Security, and Dependency of your code. There is a variety of tools that help you develop and deploy lambda to AWS, like
Today, I would like to introduce and recommend AWS SAM to help you customize your organization lambda and resources standard embedded with CICD. These valuable tools help you standardize.
AWS SAM
AWS SAM is the native tools that help manage and handle serverless components and resources with and
Crafting Custom SAM Template
I would not like to explain how Sam works, just focusing on creating a custom template and working with sam-cli. Feel free to learn more about and customize the configuration that matches your purpose of the template
More than that, the cookiescutter template itself is supported by the hooks events. You can code with Python and manage whatever you need via hooks. Look more
How to work with your crafted template
It is very easy to access the custom template by following the command.
sam init -l your-folder # Template location (git, mercurial, http(s), zip, path).
sam init -h # for look more option
Conclusion
Just give you an idea of how to implement a template for serverless in your organization; you can create multiple cases and embed the practice of your organization to the template like , lambda-layer-powertools and more
I hope this Blog will help you create your custom template to help the team focus on the code and get all the good practices that your organization followed the same standardization.
SOCIAL SHARE CARD GENERATOR