• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atom-cfn-lint

Validate CloudFormation yaml/json templates against the CloudFormation spec and additional checks. Includes checking valid values for resource properties and best practices.
  • #linter
  • #aws
  • #cloudformation
awslabs
0.7.0 15,411
7
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

AWS Cfn Lint Atom

Provides IDE specific integration to cfn-lint

Preview

Requires

cfn-lint

For atom-cfn-lint to work you need to have cfn-lint installed. pip install cfn-lint

Verify Installation

JSON/YAML Templates

Atom-cfn-lint will 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.

Example

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):

Result

See Templates for more examples.

Contribute

The code for this plugin can be found on GitHub at awslabs/aws-cfn-lint-atom

License

This library is licensed under the Apache 2.0 License.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by