Provides IDE specific integration to cfn-lint. https://github.com/awslabs/cfn-python-lint
For atom-cfn-lint to work you need to have cfn-lint installed.
pip install cfn-lint
Atom-cfn-lint is coded to work with JSON and YAML files but the goal is to only scan CloudFormation templates. As a result we look for AWSTemplateFormatVersion
being defined in the file. CloudFormation only requires Resources
to be defined but this is too generic for assuming that the file is a CloudFormation template.
You can use the following example to verify that the installation was successful:
AWSTemplateFormatVersion: "2010-09-09"
Resources:
# Unsupported Type "AWS::EC2::Instance1"
MyEC2Instance1:
Type: "AWS::EC2::Instance1"
Result (Type
is marked as an error):
See Templates for more examples.
This library is licensed under the Apache 2.0 License.