Validate AWS Serverless Application Design (SAM) templates with CloudFormation Linter to velocity up development

AWS CloudFormation announces assist for CloudFormation Linter (cfn-lint) in AWS Serverless Software Model Command Line Interface (AWS SAM CLI). The cfn-lint device validates your SAM JSON/YAML template in opposition to CloudFormation-centered regulations, and returns diagnostic mistake messages. With this start, you can use an optional parameter —lint in sam validate command to run cfn-lint validations on your SAM JSON/YAML templates.

You can use –lint to validate for CloudFormation-primarily based guidelines. These procedures checks for template characteristics this sort of as template dimensions, template description limits, Fn::GetAtt parameters, Fn::If syntax construction, and many others. For a entire checklist of default rules, refer to cfn-lint regulations guideline.

This aspect is accessible in US East (Ohio and N. Virginia), US West (N. California and Oregon), Africa (Cape City), Asia Pacific (Hong Kong, Hyderabad, Jakarta, Mumbai, Osaka, Seoul, Singapore, Sydney, and Tokyo), Canada (Central), China (Beijing) operated by Sinnet, and China (Ningxia), operated by NWCD, Europe (Frankfurt, Ireland, London, Milan, Paris, Spain, Stockholm, and Zurich), Middle East (Bahrain, and UAE), South The united states (São Paulo), and AWS GovCloud (US-East) and (US-West) Areas.



Leave a Reply