cfn-lint

Validates CloudFormation templates against AWS specifications

brewmacoslinux
Try with needOr install directly
Source

About

Validate CloudFormation templates against the CloudFormation spec

Commands

cfn-lint

Examples

Validate a CloudFormation template file$ cfn-lint template.yaml
Lint multiple templates and output as JSON$ cfn-lint -f json template1.yaml template2.yaml
Validate template ignoring specific rule violations$ cfn-lint template.yaml --ignore-checks W3002 E3012