Skip to content

CLOUDFORMATION

Linters

Linter Additional
cfn-lint
CLOUDFORMATION_CFN_LINT
GitHub stars sarif

Linted files

  • File extensions:
    • .yml
    • .yaml
    • .json
  • Detected file content:
    • AWSTemplateFormatVersion
    • (AWS|Alexa|Custom)::

Configuration in MegaLinter

Variable Description Default value
CLOUDFORMATION_FILTER_REGEX_INCLUDE Custom regex including filter
CLOUDFORMATION_FILTER_REGEX_EXCLUDE Custom regex excluding filter