{"repo":"awslabs/serverless-rules","free":true,"listed":false,"github":"https://github.com/awslabs/serverless-rules","clone":"git clone https://github.com/awslabs/serverless-rules.git","description":"Compilation of rules to validate infrastructure-as-code templates against recommended practices for serverless applications.","language":"Go","stars":420,"topics":["serverless","cloudformation","terraform","tflint","cfn-lint","serverless-rules"],"license":"MIT-0","category":"deployment-docker-iac","readme_excerpt":"Serverless Rules ================ The Serverless Rules are a compilation of rules to validate infrastructure as code template against recommended practices. This currently provides a module for cfn-lint and a plugin for tflint. You can use those rules to get quick feedback on recommended practices while building a serverless application, as part of automated code review process, or as guardrails before deploying to production. 📜Documentation 🐍PyPi PUBLIC PREVIEW : this project is currently in public preview to get feedback from the serverless community. APIs, tools, and rules might change between the beginning of public preview and version 1. You can find a list of currently supported rules in the documentation. Usage guide cfn-lint To get started with Serverless Rules and cfn-lint, install cfn-lint-serverless module: pip install cfn-lint cfn-lint-serverless You can now instruct cfn-lint to use Serverless Rules module installed previously via --append-rules or -a for short: You can try with a Serverless Application Model (SAM) example provided in this repository by running: tflint This plugin depends on tflint. If you use tflint version 0.29 or newer, you can leverage the tflint --init command to automatically install the plugin. Otherwise, you will need to download the tflint-ruleset-aws-serverless binary corresponding to your system from the releases page. You can enable the Serverless Rules plugin by adding a plugin section in the .tflint.hcl file in your project: Contri","default_branch":null,"files":null,"tree":[],"storefront":"/r/awslabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/awslabs/serverless-rules/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}