cfn-python-lint VS cfn-diagram

Compare cfn-python-lint vs cfn-diagram and see what are their differences.

cfn-diagram

CLI tool to visualise CloudFormation/SAM/CDK stacks as visjs networks, draw.io or ascii-art diagrams. (by mhlabs)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
cfn-python-lint cfn-diagram
20 6
2,345 60
1.0% -
9.1 5.1
5 days ago about 1 month ago
Python JavaScript
MIT No Attribution -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cfn-python-lint

Posts with mentions or reviews of cfn-python-lint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-06.
  • Deploy config rules across your organization
    1 project | dev.to | 15 Feb 2024
    Now the first 3 options are pretty straight forward. The template itself is a bit more complicated. In my example I used an inline template, I did this for the sake of this blog. But you can also reference an existing object on S3. This way you can use linting tools like cfn-lint on your conformance pack. This will reduce errors during deployment as you can catch them before you commit and push your code.
  • Managing low-code environments with AWS CloudFormation and Azure Resource Manager
    3 projects | dev.to | 6 Feb 2023
    Automate testing and validation: Before deploying your templates, it's important to test and validate them to ensure that they will work as expected. Use tools like AWS CloudFormation Linter and Azure Resource Manager Template Tester to automate this process.
  • Alternatives to Terraform
    5 projects | /r/devops | 27 Jan 2023
    Honestly I've had good luck writing clean Cloud Formation. It's AWS only. But Nested Stacks can help keep things pretty clean and tools like cfn-lint do a pretty good job of preventing you from going too crazy with spaghetti code. Additionally, as it's all json/yaml, you can parse it to look for common problems your organization wants to enforce. So you can ensure things like specific tags your roles/vpc etc..., or usage of an "approved" set of AMI, requiring an EKS/RDS cluster to be split across availability zones; they're all just a test in your CI pipeline away.
  • Creating a Multi-Account CI/CD Pipeline with AWS CodePipeline
    2 projects | dev.to | 6 Nov 2022
    CodeBuild will run a linting check against the CloudFormation Template using cfn-lint and will then run cfn-nag to check for patterns that indicate insecure resources within the CloudFormation template.
  • App with self-contained infrastructure on AWS
    6 projects | dev.to | 2 Oct 2022
    A linter for our AWSCloudformation stack called cfn-lint
  • how did you get good at iac-cloudformation
    2 projects | /r/devops | 24 Sep 2022
    cfn-lint and cfn_nag or other tools of that nature to check as you write so you don't need to continually try to deploy only to find that you've done something dumb.
  • Validating cloudFormation templates
    3 projects | /r/aws | 7 Aug 2022
    https://github.com/aws-cloudformation/cfn-lint as mentioned will do what you've explicitly called-out.
    2 projects | /r/devops | 7 Aug 2022
  • CloudFormation locally
    2 projects | /r/aws | 6 Jun 2022
    cfn-lint can do basic validation and rule-based linting. Highly recommend using it even if it doesn't solve your problem.
  • Source Control your AWS CloudFormation templates with GitHub
    3 projects | dev.to | 19 May 2022
    To help validate your AWS CloudFormation templates you can use a tool called cfn-lint.

cfn-diagram

Posts with mentions or reviews of cfn-diagram. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-11.
  • AWS Architecture Diagram tool recommendations
    7 projects | /r/aws | 11 Oct 2022
  • Create AWS Architectures diagram-based
    2 projects | dev.to | 17 Feb 2022
    What do you think, is it worth writing a patch for cfn-diagrams to create these links automatically?
  • Looking for experience & recommendations of visualisation tools
    2 projects | /r/aws | 2 Feb 2022
  • One week at globaldatanet as AWS Cloud Engineer - David Edition
    4 projects | dev.to | 28 Apr 2021
    { "week": [ { "Id": "16", "AWS-Services": [ "AWS CloudFormation", "AWS CloudTrail", "AWS Config", "Amazon CloudFront", "AWS Cost Explorer", "AWS Lambda", "AWS Key Management Service", "Amazon Athena" ], "Languages": [ "Python", "nodejs", ], "Tools": [ { "name": "ORGTOOL", "github": "https://github.com/daknhh/aws-orgtool" }, { "name": "cfn-python-lint", "github": "https://github.com/aws-cloudformation/cfn-python-lint" }, { "name": "cfn-diagram", "github": "https://github.com/mhlabs/cfn-diagram" }, { "name": "Taskfile", "github": "https://github.com/Wildhoney/Taskfile" } ], } ] }
  • AWS open source news and updates No.41
    13 projects | dev.to | 25 Oct 2020
    cfn-diagram how many times have you wished you could take your CloudFormation YAML or JSON and then visualise it? When this open source tool provides a CLI as well as integration into tools like VSCode that help visualise CloudFormation templates as draw.io diagrams. Very nice Lars Jacobsson and the MatHem tech team. There is also the experimental cfn-diagram-ci which you can have a look at as well.

What are some alternatives?

When comparing cfn-python-lint and cfn-diagram you can also consider the following projects:

cfn_nag - Linting tool for CloudFormation templates

determined - Determined is an open-source machine learning platform that simplifies distributed training, hyperparameter tuning, experiment tracking, and resource management. Works with PyTorch and TensorFlow.

aws-codebuild-docker-images - Official AWS CodeBuild repository for managed Docker images http://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref.html

cdk-appsync-project - Projen managed AppSync Transformer project

cloudformation-guard - Guard offers a policy-as-code domain-specific language (DSL) to write rules and validate JSON- and YAML-formatted data such as CloudFormation Templates, K8s configurations, and Terraform JSON plans/configurations against those rules. Take this survey to provide feedback about cfn-guard: https://amazonmr.au1.qualtrics.com/jfe/form/SV_bpyzpfoYGGuuUl0

aws-sdk-js-v3 - Modularized AWS SDK for JavaScript.

terraform-aws-icons - Annotate Terraform graphs with AWS icons.

cdk-dia - Automated diagrams of CDK provisioned infrastructure

aws-toolkit-vscode - Amazon Q, CodeWhisperer, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources

Taskfile - :package: Yet another attempt at a simple task runner for npm with parallelisation support using bash commands via YAML.

rain - A development workflow tool for working with AWS CloudFormation.

booster - Software development framework specialized in building highly scalable microservices with CQRS and Event-Sourcing. It uses the semantics of the code to build a fully working GraphQL API that supports real-time subscriptions.